AnimalQueryJS

Tries to speedup browsing by disabling JS (jQuery) animations

  1. // ==UserScript==
  2. // @name AnimalQueryJS
  3. // @description Tries to speedup browsing by disabling JS (jQuery) animations
  4. // @license WTFPLv2, no warranty
  5. // @version 2022.03.09.1503
  6. // @namespace https://greasyfork.org/users/30-opsomh
  7. // @grant none
  8. // @inject-into auto
  9. // @run-at document-start
  10. // @include *
  11. // @exclude https://www.olx.pl/*
  12. // @exclude https://www.steamdeck.com/*
  13. // ==/UserScript==
  14. /* jshint esversion: 6 */
  15.  
  16. (function(){
  17. window.addEventListener('load', function(){
  18. try{
  19. if(window.jQuery && window.jQuery.fx){
  20. window.jQuery.fx.off = true;
  21. } else if (window.wrappedJSObject && window.wrappedJSObject.jQuery && window.wrappedJSObject.jQuery.fx ){
  22. window.wrappedJSObject.jQuery.fx.off = true;
  23. }
  24. }catch(e){}
  25. });
  26. })();