Last active
July 26, 2016 09:56
-
-
Save cankei/de5f8072dd01ab1c56e877f17af091d9 to your computer and use it in GitHub Desktop.
Filter out unwanted pokemons on pokevision.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you