Skip to content

Instantly share code, notes, and snippets.

@mobeigi
Created August 21, 2021 03:48
Show Gist options
  • Save mobeigi/9085ee4c5cf58a2a0c2bb5acb18f9448 to your computer and use it in GitHub Desktop.
Save mobeigi/9085ee4c5cf58a2a0c2bb5acb18f9448 to your computer and use it in GitHub Desktop.
Steam Market Seed Finder (CSGOFloat extension)
var seeds = document.getElementsByClassName('csgofloat-itemseed');
var patterns = [101,404,684];
for (var i = 0; i < seeds.length; ++i) {
var seed = Number(seeds[i].textContent.replace('Paint Seed: ', ''));
if (patterns.includes(seed)) {
console.log("Found seed: " + seed);
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment