Pokevision
A little mod for the lazy.
HTML
Go to https://pokevision.com
Copy and paste the Javascript code into your chrome browsers console (CTRL + SHIFT + C or F12), press ENTER.
<br/><br/>
It searches every 30 seconds and tells you when and what pops up nearby. You can choose which pokemon will alert you and how close they need to be.
<br/><br/>
I made this app so I could do other stuff around the house and my computer would tell me when there's any cool pokemon nearby! Hope you guys can use it too!
<br/><br/>
You can now customize the search distance and simply choose which pokemons you want to know about on the right hand sidebar (or below if your screen is small).
JavaScript
//POKEVISION AFK MOD - Take 2 (Thanks to ffejmania)
console.log("%cLOADING POKEVISION MOD","color:lightblue");
console.log("- Big thanks to ffejmania for the distance calculator");
/* Check these guys out for there awesome narrator API! http://responsivevoice.org/ */
$.getScript("https://code.responsivevoice.org/responsivevoice.js",function() {
console.log("Loaded narrator");
});
/*Sound effects, in case the narrator bugs up (happens a lot)
Hopefully these guys don't mind we're using their sound :)
http://ionden.com/a/plugins/ion.sound/static/sounds/button_tiny.mp3
*/
var audio = new Audio('http://ionden.com/a/plugins/ion.sound/static/sounds/button_tiny.mp3');
function blip() {
audio.play();
}
//Clean that side bar. Sorry website owners.
$(".home-sidebar p:not(.home-sidebar-social), .home-sidebar ol, .home-sidebar h3").remove();
$(".home-sidebar").append(`
<h1>That lazy afk mod</h1>
<p>Sit back, relax and it'll let you know when it's worth going outside :)<p>
<h3 id="distanceheader">Alert distance <500m</h3>
<input id="searchdistance" type="range" min="10" max="1000" value="500"></input>
<h3>Pokemon</h3>
<p><button id="deselectall">Deselect All</button><button id="selectall">Select All</button></p>
<ol id="alertlist" type="1">
</ol>
`);
$(".home-map-scan").remove();
var pokemonAlertList = { //Choose which pokemon you want to be alerted about!
"Bulbasaur": true,
"Ivysaur":true,
"Venusaur":true,
"Charmander":true,
"Charmeleon":true,
"Charizard":true,
"Squirtle":true,
"Wartortle":true,
"Blastoise":true,
"Caterpie":true,
"Metapod":true,
"Butterfree":true,
"Weedle":true,
"Kakuna":true,
"Beedrill":true,
"Pidgey":false, //Hell...