Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

How can I disable JavaScript based animations ?

more options

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 ?

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 ?

Усі відповіді (9)

more options

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

more options

There is no flash on that page.

more options

Flash is just one of the things it blocks. Please try it out.

more options

Just tried it: Flash block does not block it. Even Its documentation says that flashblock blocks plugins, not javascript.

more options
more options

This is what I did before I posted the question here :-(

more options
more options

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.

more options

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.