How can I disable JavaScript based animations ?
How can I get rid of any animations, for instance the one at http://karaf.apache.org ? The SuperStop extension does not help, seemingly because this animation is based on a JavaScript timer event. I don't want to disable JavaScript completely, neither do I want to do this selectively with the NoScript extension, both because many sites don't work anymore. Are there any other extensions or about:config options to disable JavaScript timers ?
Toutes les réponses (9)
Flash block {web link} Never be annoyed by a Flash animation again! Blocks Flash so it won't get in your way, but if you want to see it, just click on it
There is no flash on that page.
Flash is just one of the things it blocks. Please try it out.
Just tried it: Flash block does not block it. Even Its documentation says that flashblock blocks plugins, not javascript.
Okay, search these add-ons; https://addons.mozilla.org/en-US/firefox/search/?q=java
This is what I did before I posted the question here :-(
Sorry, how about; https://www.bing.com/search?q=block%20java&pc=MOZI
Hmm, by animation, do you mean the slider that rotates through various news items in the center of the page?
I don't think there could be a one-size-fits-all method because sites can use numerous different kinds of sliders and a range of techniques for setting up the timing. However, you can see that when you hover it, the motion stops, so it should theoretically be possible to hook into its scripting to create a pause button. Probably requires an add-on or user script.
Another possibility would be to put something in front of the slider so it's less distracting, or hide it when you aren't hovering over it, or other change that possibly could be applied using a custom style rule.
Anyway, I feel your pain on this one. This slider is giving me motion sickness. Whose idea was it to make it change so often?
Note: This particular slider can be downloaded for experimentation here: https://github.com/kenwheeler/slick/ -- I didn't dig into it too deeply.
You can kill all the timers using a script like this:
var newTimerID = setTimeout(''); var loopMax = newTimerID + 50; for (var id=0; id<loopMax; id++) clearTimeout(id);
That could be applied to the page using a bookmarklet:
javascript:var newTimerID = setTimeout(''); var loopMax = newTimerID + 50; for (var id=0; id<loopMax; id++) clearTimeout(id); void 0;
However, unless the slider stopped between section, which made it completely dysfunctional, I discovered that if my mouse passed over the slider, a new timer started, so, hmm.