NeoSpiderer 1.2
Last update on Sep 15, 2008
Randomly visits pages on neopets.com, and alerts when there's a random event.
This script surfs neopets.com automatically. It will refresh at random times, but between 2 given values (to edit the settings, just click "Edit" in GreaseMonkey).
You could comment on this script if you were logged in.
10 comments
You could comment on this script if you were logged in.

login to vote
You forgot to change the name of the script to 1.2 in the source.
login to vote
Script Updated. It now includes a simple check of urls as captaintk suggested. Enjoy! =]
login to vote
i just changed the getLink function to improve performance and reliability.
it filters javascript/aim/swf and avoids recursion.
function getLink() { var linkList = document.getElementsByTagName("a"); do{ //alert("trying "+ links[rnd].href.toString()); rnd = Math.floor(Math.random() * (linkList.length - 1)); var link = linkList[rnd].href; }while ( ! link.match(/^http.+neopets\.com.+phtml$/) || link.match(/\.wav$/) || link.match(/logout\.phtml$/) || link.match(/process_neofriend_requests.phtml/) ) return link.toString(); }i also commented out the alerts but thats only a matter of taste
greetings
login to vote
I believe he means this one:
http://ncmall.neopets.com/mall/shop.phtml?page=...=
The script doesn't load on this page, because the site ncmall.nepets.com isn't an included page.
Adding it to the list doesn't seem to help either :/
login to vote
What shopping page are you talking about? If you could link me, it would be nice of you.
login to vote
Is there an easy way to stop it from visiting the shopping page?
login to vote
No, sorry. Greasemonkey only starts executing code when the page is fully loaded...
login to vote
Looked like it didn't work for a bit, but seems that some .swf neopets images/ files (for instance in the shopping page) make the program think the page hasn't finished loading yet.
Not sure, but is it possible to make the script refresh a new page after ten seconds or so even if the page hasn't finished loading?
login to vote
This has been updated and I added the fixes your requested, Bitsy.
login to vote
You need to add some checks to this script. Took it on a test run and it had me randomly neofriend some strangers, tried to email neopets (support and abuse) a few times and repeatedly got stuck playing wav files on the pronunciation guide forcing me to manually navigate it back to the main page. Pretty useless in its current form.