Dark Gray Background for Goal Line Blitz - V2

Changes the outer background color of the GLB login page to dark gray (more aggressive).

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Dark Gray Background for Goal Line Blitz - V2
// @namespace    http://tampermonkey.net/
// @version      1.1
// @license      MIT
// @description  Changes the outer background color of the GLB login page to dark gray (more aggressive).
// @author       SeattleNiner
// @match        https://glb.warriorgeneral.com/*
// @grant        GM_addStyle
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    // #333333 is the dark gray color

    // 1. Target the <html> element (the root of the page)
    GM_addStyle('html { background-color: #413F44 !important; }');

    // 2. Target the <body> element (this is what we targeted before, keeping it for certainty)
    GM_addStyle('body { background-color: #413F44 !important; }');

    // 3. Target the main content wrapper if the page is using an inner wrapper to hold the white background
    // Based on the HTML you provided earlier, the main wrapper seems to be
    // <div id="body_container"> which contains the white-background content.
    // Let's ensure this wrapper does *not* inherit the body background and keeps its current appearance.
    // However, if the entire visible page *inside* the gray area is white, the most effective target is html/body.

})();