AnimalQuery

Tries to speedup browsing by disabling content animations

נכון ליום 12-04-2018. ראה הגרסה האחרונה.

// ==UserScript==
// @name        AnimalQuery
// @description Tries to speedup browsing by disabling content animations
// @version     2018.02.18.1057
// @namespace   https://greasyforks.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;
        animation-timing-function: step-start !important;
        transition-delay: 0ms !important;
        transition-duration: 0.001ms !important;
        transition-timing-function: step-start !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';
    }
})(); 
长期地址
遇到问题?请前往 GitHub 提 Issues。