Greasy Fork is available in English.

Captcha Counter

Counts the number of hits remaining before you get a captcha

< Feedback on Captcha Counter

Question/comment

§
Posted: 17-08-2015

fix for firefox & alert problem

I've been using capcha counter since it was released,
I edited the script yesterday to comment out the capcha alert for next hit is a capcha,
then capcha counter stopped working.
apparently on firefox you need an @grant to access variables

add this to the header section

// @grant       GM_getValue
// @grant       GM_setValue

the alert causes a problem with the alert for hit accepted from c4c, the page monitor on firefox.
the hit just hangs there, timer counting down if you aren't focused on the tab and don't notice.
the alert could be changed to something that will show outside the browser,
no matter which window or tab or not even focused on the browser at all.
I think TM uses such an alert?

I assume somehow on an update of greasemonkey that began requiring the @grant,
any scripts that didn't have it got grandfathered in? until updated or edited.
there are errors and warnings in a few other scripts that still work.
I never opened the js console before.

§
Posted: 30-08-2015

broke again when I updated from v32 to the latest beta firefox v41
still broken after I updated to a newer greasemonkey as well.
all the other scripts I use still seem to work so a little perplexing.
it seems to be failing here now:

if (!this.GM_getValue || (this.GM_getValue.toString && this.GM_getValue.toString().indexOf("not supported")>-1)) {

Post reply

Sign in to post a reply.