Quantcast

Jump to content


Photo

[Guide] Updated Userscripts and Userstyles Thread

scripts styles auto food club user

  • Please log in to reply
33 replies to this topic

#26 Cass

Cass
  • Stronteigenwijs

  • 1,560 posts


Users Awards

Posted 17 July 2015 - 01:32 AM

This might be a dumb question, but it's the first time I'm dabbling in userscripts; how do I actually get the Food Club autobetter to work?

 

Jz0Mg9b.png

 

I have greasemonkey enabled, the script is enabled, et cetera... It says it'll run everytime it hits a page, but I can't get bets to show up? Am I missing something?



#27 iKate

iKate
  • Cat Lady

  • 1,700 posts


Users Awards

Posted 17 July 2015 - 01:34 AM

This might be a dumb question, but it's the first time I'm dabbling in userscripts; how do I actually get the Food Club autobetter to work?

 

Jz0Mg9b.png

 

I have greasemonkey enabled, the script is enabled, et cetera... It says it'll run everytime it hits a page, but I can't get bets to show up? Am I missing something?

Go to http://www.neopets.com/~Boochi_Target (or any other betting page) and wait a bit, you'll get a pop up asking if you want to bet from that page. (click yes)


Edited by iKate, 17 July 2015 - 01:36 AM.


#28 Cass

Cass
  • Stronteigenwijs

  • 1,560 posts


Users Awards

Posted 17 July 2015 - 01:42 AM

Go to http://www.neopets.com/~Boochi_Target (or any other betting page) and wait a bit, you'll get a pop up asking if you want to bet from that page. (click yes)

Aaahhh that's what Booch_target meant in the OP. Thanks!



#29 Rhizome

Rhizome
  • 14 posts

Posted 25 July 2015 - 04:57 PM

Does anyone know how long the restock alerter waits to refresh POST restock?

For example: Magic restocked but it was junk, how do I get the script to start refreshing again? 

 

If I open a new tab or window I get a notification that it has restocked (just like the alert when it actually restocks) but nothing new has happened and it will refuse to refresh.

 

 

Is the only get around is waiting for a clear?



#30 Desant

Desant
  • 58 posts


Users Awards

Posted 25 July 2015 - 08:03 PM

Does anyone know how long the restock alerter waits to refresh POST restock?
For example: Magic restocked but it was junk, how do I get the script to start refreshing again? 
 
If I open a new tab or window I get a notification that it has restocked (just like the alert when it actually restocks) but nothing new has happened and it will refuse to refresh.
 
 
Is the only get around is waiting for a clear?

 
I fixed this, let me find the code.
 
// ==UserScript==
// @name        Neopets Main Shop Restock Alerter
// @namespace   http://www.userscripts.org/user/46514
// @include     *www.neopets.com/objects.phtml?*
// @version     1.11
// @grant       GM_setValue
// @grant       GM_getValue
// ==/UserScript==
var shopId = window.location.href.substring(window.location.href.indexOf("obj_type=")+9,window.location.href.indexOf("obj_type=")+11)
 
if (GM_getValue("stock_"+shopId, -1) === -1) {
    GM_setValue("stock_"+shopId, $('img[src^="http://images.neopets.com/items/"]').length);
    setTimeout(function() { window.location.reload(); }, 2000+Math.random()*2000);
} else {
    if ($('img[src^="http://images.neopets.com/items/"]').length > GM_getValue("stock_"+shopId)) {
        alert("Restock on shop "+shopId);;
        GM_setValue("stock_"+shopId, $('img[src^="http://images.neopets.com/items/"]').length);
    } else {
        GM_setValue("stock_"+shopId, $('img[src^="http://images.neopets.com/items/"]').length);
        setTimeout(function() { window.location.reload(); }, 2000+Math.random()*2000);
    }
}

Edited by neohobo, 25 July 2015 - 11:10 PM.


#31 Lucario

Lucario
  • 21 posts


Users Awards

Posted 06 August 2015 - 09:33 PM

Thanks, will try to use the restock alert



#32 aeroplane

aeroplane
  • 13 posts

Posted 09 August 2015 - 05:51 AM

I was really excited to see the "Old Neopets Images" extension, but it doesn't seem to work no matter how I play with the settings (Chrome on OS X 10.9). Is there something about it I'm missing? Maybe I'm looking at it wrong.

 

Also Search Helper near about changed my life, bless this thread.



#33 jxt

jxt
  • 7 posts

Posted 09 August 2015 - 12:46 PM

Does Main Shop Restock Alerter and Shop Wiz Addon require JS to be enabled?

 

I tried both and neither worked. SW Addon changed the default to "Identical to my phrase", but that was it. The Restock Alerter did nothing.

 

I'm also using a different auto-haggle script. I found it on the Codex, I'll have to try and find the link again, but it doesn't require JS to be enabled. I also made some of my own changes to it, because for some reason it was shop specific, but in no way needed to be. I could post the source, but I feel I should find the original link to give the person who made it credit, I just fixed it a little bit.



#34 Gremlin

Gremlin
  • 2 posts

Posted 12 December 2015 - 06:24 AM

So the Shop Restock Alerter isn't working.

 

Desants restock alerter is for chrome but laserwaves captcha completer doesnt work in chrome.

 

So is there a way to have either an working restock alerter for Firefox or a way to make the captcha completer work in Chrome?

 

thanks in advance





Also tagged with one or more of these keywords: scripts, styles, auto, food club, user

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users