Skip to content

Instantly share code, notes, and snippets.

@jamesl1001
Created July 28, 2016 14:25
Show Gist options
  • Save jamesl1001/bc3ff654dfb176b82f2b74ec7d1d83eb to your computer and use it in GitHub Desktop.
Save jamesl1001/bc3ff654dfb176b82f2b74ec7d1d83eb to your computer and use it in GitHub Desktop.
Tampermonkey script to hide common Pokémon from Pokévision map.
// ==UserScript==
// @name Hide Common Pokémon from Pokévision
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Hide those Pokémon who are getting in the way of being the very best!
// @author http://jalproductions.co.uk/
// @match https://pokevision.com/
// @grant none
// ==/UserScript==
(function() {
'use strict';
var hideThesePokemon = [
102, // pidgey
115, // rattata
128, // spearow
145, // weedle
150 // zubat
];
for(var i = 0, l = hideThesePokemon.length; i < l; i++) {
document.querySelector('[data-original-index="' + hideThesePokemon[i] + '"] > a').click();
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment