-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable jQuery animations #5
Comments
Ohhh that's interesting. I will do some test ASAP. Thanks for the tip. Of course, if you want to do a pull requests, you are welcome. |
Ok I did a test with https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/tabs/executeScript but this run in some kind of isolated context. So I think the way to go is to insert a script element in the page, execute it, then remove the element. |
Curious also about http://getbootstrap.com/javascript/#transitions Bootstrap use jQuery, but perhaps they also have their own transitions that would be nice to disable at the JS level. |
see: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Content_scripts#Accessing_page_script_objects_from_content_scripts |
@gagarine, have you abandoned us? |
Yes sadly yes. I'm not using the plugin myself anymore as 1) web devs to got tired of this gimmick 2) Firefox handle animation a lot better in term of CPU usage. I may return to it when I got some free time. I will accept pull requests. |
I still use it to disable things like the scrolling backgrounds at https://www.humblebundle.com/ and I wish I had time to write a PR to make it toggle things per-page because it causes "freeze up the entire tab"-level fatal breakages in situations like attempting to scroll down to the bottom in a GitHub Gist code editor widget. |
Animations can be disabled by setting
jQuery.fx.off
totrue
https://api.jquery.com/jquery.fx.off/
The text was updated successfully, but these errors were encountered: