Skip to content

Instantly share code, notes, and snippets.

@cankei
Last active July 26, 2016 09:56
Show Gist options
  • Select an option

  • Save cankei/de5f8072dd01ab1c56e877f17af091d9 to your computer and use it in GitHub Desktop.

Select an option

Save cankei/de5f8072dd01ab1c56e877f17af091d9 to your computer and use it in GitHub Desktop.
Filter out unwanted pokemons on pokevision.com
var pokemonsToRemove = [10, 13, 16, 19, 21, 23, 27, 29, 32, 35, 39, 41, 46, 48, 54, 60, 69, 72, 79, 84, 86, 90, 98, 99, 100, 101, 102, 104, 106, 107, 109, 111, 114, 116, 118, 120, 127, 129, 133, 140]
for (var o = 0; o < pokemonsToRemove.length; o++) {
var duplicates = $("img[src$='//ugc.pokevision.com/images/pokemon/" + pokemonsToRemove[o] + ".png']")
for (var i = 0; i < duplicates.length; i++) {
$(duplicates[i].parentElement).hide();
}
}
@11122456
Copy link

Thank you

@11122456
Copy link

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment