Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone know a way to get Firefox to block Javascript animation without breaking javascript completely???
I *can't stand* things moving on my screen while I am trying to read. Adblock, of course, is a mandatory start. The Flashkiller plugin works great for stopping Flash. And Firefox has a built-in way to disable GIF animation. But more and more sites are using Javascript to somehow create unwanted, constant or intermittent movements, animations, scrollings, and slideshows that I can't stop or even block.
At least the changes on that one are slow, but still VERY annoying to me- to the point I have to pick up the whole window and shove the animated part off the edge of the screen.
I have looked at noscript in the past (and recently), and it isn't able to block just animation. If you use it to block all javascript, many pages don't work at all. I was hoping there might be something that just targets animation by default, without disabling other javascript, and without complex configuration.
So far, my research hasn't turned up anything. I am kinda surprised, since I thought there had to be lots of other people annoyed by all this animation.
Perhaps I need to suggest that to the noscript people as an option...
You might also want:
/* Put an end to blinking text! */
user_pref("browser.blink_allowed", false);
user_pref("browser.display.show_image_placeholders", false)
The above along with NoScript and AdBlock Plus will get rid of all that annoying flashing blinking crap.
Thank you both for the replies, but I have tried noscript and it just doesn't do what I am looking for. I don't want to turn off all javascript, nor do I want to edit whitelists/blacklists. Just looking for something that will always and automatically target just the javascript that causes animation.
Sounds like the makings for a new type of plugin, if it is even possible.
I must be missing something, because I very rarely see any animation of any kind unless I want to see it. Do you have a url with an example of what you want to block?
Adblock blocks only the background image. NoScript renders parts of the site unfunctional. There needs to be a solution to selectively block code that can easily be found when viewing the source.
Actually, if it involves manual intervention, then it really isn't a good fix. I don't know much about AJAX/Javascript, but I suspect there are some certain calls or statements that are commonly used to create animations. Those I would just want to block by default.
I started this thread almost a year ago, and in that time, I have seen use of AJAX/Javascript animation on sites just about double
Well, I am glad I am not the only one who has major issues with Javascript/Ajax animation. However, those threads are still about just blocking specific elements of specific sites with a lot of manual rule adding and fiddling and experimentation.
I, on the other hand, was (and still am) looking for a solution that will disable the "typical" methods used on most websites that are used for animation, such that it will just work automatically for most websites.
My users can't possibly add rules and such.
It really sounds like the making of a new type of Firefox addon, something like "Animation Strip" or something, and has sets of rules for stripping or hiding typical animation elements (and this all works on the theory that there even ARE some typical elements).
The main problem is that our system uses thin clients. Sites that use such animation simply destroy the server and network. Although, even at home, such an addon would be a god-send (since I hate seeing movement on the screen anyway, regardless of CPU and network load).
I saw it, but it wasn't designed specifically for stopping animation. So, unless you are an expert in Javascript, it won't help much. (I will admit I have not tried it). I put it kinda in the same category as noscript. Am I missing something?
As a hint, there's no such thing as "javascript animation". Javascript can relocate elements or change their contents, but that functionality is required for things like dynamic forms, AJAX sites, etc.
My advice: if a site sucks that badly, don't use it. I know that's not always practical, but deciding whether javascript code is "animation" or "functionality" is a human-level decision, making it very hard to automate.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.