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 Feed-icon

1 point
login to vote
JoeSimmons scriptwright
Posted Oct 4, 2008

You forgot to change the name of the script to 1.2 in the source.

1 point
login to vote
ricky92 script's author
Posted Sep 15, 2008

Script Updated. It now includes a simple check of urls as captaintk suggested. Enjoy! =]

1 point
login to vote
captaintk scriptwright
Posted Aug 10, 2008

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

1 point
login to vote
Freshums user
Posted Jul 17, 2008

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 :/

1 point
login to vote
ricky92 script's author
Posted Jul 9, 2008

What shopping page are you talking about? If you could link me, it would be nice of you.

1 point
login to vote
Aerozol user
Posted Jun 23, 2008

Is there an easy way to stop it from visiting the shopping page?

1 point
login to vote
ricky92 script's author
Posted Jun 19, 2008

No, sorry. Greasemonkey only starts executing code when the page is fully loaded...

1 point
login to vote
Aerozol user
Posted Jun 18, 2008

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?

1 point
login to vote
ricky92 script's author
Posted May 5, 2008

This has been updated and I added the fixes your requested, Bitsy.

1 point
login to vote
Bitsy user
Posted Apr 24, 2008

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.

You could comment on this script if you were logged in.