Tries to speedup browsing by disabling content animations
目前為
// ==UserScript==
// @name AnimalQuery
// @description Tries to speedup browsing by disabling content animations
// @version 2018.01.09.1358
// @namespace https://greasyfork.org/users/30-opsomh
// @grant none
// @include *
// ==/UserScript==
(function(){
var style = document.createElement('style');
style.textContent = `*, *::before, *::after{
animation-delay: 0ms !important;
animation-duration: 0ms !important;
transition-delay: 0ms !important;
transition-duration: 0.001ms !important;
}`;
if(document.head){
document.head.appendChild(style);
}
if(window && window.jQuery && window.jQuery.fx){
window.jQuery.fx.off=true;
//window.jQuery.fx.speeds = { slow: 60, fast: 20, _default: 40 };
//window.jQuery.easing._default = 'linear';
}
})();