Gus Wirth
2012-05-10 15:03:16 UTC
Has anyone heard of a Firefox plugin that will disable the Javascript
functions setInterval and setTimer? I've found that about the only use
for these is to produce really annoying moving text or images on a web
page that that I'm trying to read.
Or do I have to resort to hacking Firefox to turn those functions into
null functions? I'm not sure how Javascript works as far as function
redefinition goes. But doing a little more research I found Greasemonkey.
I'm looking at this script for the Greasemonkey plugin:
http://userscripts.org/scripts/review/99430
which is intended to log setInterval and setTimer calls, but I think I
can just gut the function calls and return null. Or maybe I'll save the
old timers and make a button to restore them.
Gus
functions setInterval and setTimer? I've found that about the only use
for these is to produce really annoying moving text or images on a web
page that that I'm trying to read.
Or do I have to resort to hacking Firefox to turn those functions into
null functions? I'm not sure how Javascript works as far as function
redefinition goes. But doing a little more research I found Greasemonkey.
I'm looking at this script for the Greasemonkey plugin:
http://userscripts.org/scripts/review/99430
which is intended to log setInterval and setTimer calls, but I think I
can just gut the function calls and return null. Or maybe I'll save the
old timers and make a button to restore them.
Gus