Dark Gray Background for Goal Line Blitz - V2

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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.

})();