GunCAD Index Anim Background Disabler

Disables animated bg that hammers gpu's for no reason

// ==UserScript==
// @name         GunCAD Index Anim Background Disabler
// @namespace    http://tampermonkey.net/
// @version      2025-07-01
// @description  Disables animated bg that hammers gpu's for no reason
// @author       Shootist
// @match        https://guncadindex.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=guncadindex.com
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    var bgwrapper = document.getElementById('bgwrapper');
    if (document.cookie.indexOf('stopAnim=true') == 0) {
        // Already disabled
        return
    } else {
        // Set cookie and pause animation
        document.cookie = 'stopAnim=true;path=/';
        bgwrapper.style.animationPlayState = 'paused';
    }
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址