Captcha Counter

Counts the number of hits remaining before you get a captcha

< 脚本Captcha Counter的反馈

提问/评论

§
发表于:2015-08-17

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.

§
发表于:2015-08-30

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)) {

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址