GeoFS-V3.9_Failure-Simulator

Advanced emergency training engine delivering realistic, unpredictable system failures.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         GeoFS-V3.9_Failure-Simulator
// @namespace    https://codeberg.org/AwesomeOddEven-NightKeys-LunarBlink
// @version      1.0.1
// @description  Advanced emergency training engine delivering realistic, unpredictable system failures.
// @author       AwesomeOddEven-NightKeys-LunarBlink
// @icon         https://AwesomeOddEven-NightKeys-LunarBlink.codeberg.page/GeoFS-V3.9_Failure-Simulator/logo.png
// @match        https://www.geo-fs.com/geofs.php*
// @grant        none
// @license      MIT
// @icon         https://codeberg.org/AwesomeOddEven-NightKeys-LunarBlink/GeoFS-V3.9_Failure-Simulator/raw/branch/main/logo.png
// ==/UserScript==

(function () {
    'use strict';

    if (!window.location.href.includes("geofs.php")) return;

    const CORE_URL = "https://AwesomeOddEven-NightKeys-LunarBlink.codeberg.page/GeoFS-V3.9_Core-Library/core-library.js";
    const CSS_URL = "https://AwesomeOddEven-NightKeys-LunarBlink.codeberg.page/GeoFS-V3.9_Design-System/design-system.css";
    const CDN_URL = "https://AwesomeOddEven-NightKeys-LunarBlink.codeberg.page/GeoFS-V3.9_Failure-Simulator/failure-simulator.js";

    function loadScript(url) {
        return new Promise((resolve, reject) => {
            const script = document.createElement('script');
            script.src = url + "?v=" + Date.now();
            script.onload = resolve;
            script.onerror = reject;
            document.head.appendChild(script);
        });
    }

    function loadCSS(url) {
        if (document.querySelector(`link[href*="design-system.css"]`)) return;
        const link = document.createElement('link');
        link.rel = 'stylesheet';
        link.href = url + "?v=" + Date.now();
        document.head.appendChild(link);
    }

    async function init() {
        console.log("[GeoFS-V3.9_Failure-Simulator] >> INITIALIZING FAILURE SIMULATOR ECOSYSTEM...");
        try {
            // 1. Load Foundations
            loadCSS(CSS_URL);
            if (!window.SafeInit) {
                await loadScript(CORE_URL);
                console.log("[GeoFS-V3.9_Failure-Simulator] >> FOUNDATION: CORE LIBRARY LOADED.");
            }

            // 2. Load Logic
            await loadScript(CDN_URL);
            console.log("[GeoFS-V3.9_Failure-Simulator] >> FAILURE SIMULATOR LOGIC LOADED.");
        } catch (e) {
            console.error("[GeoFS-V3.9_Failure-Simulator] >> ECOSYSTEM BOOT FAILURE. CHECK CDN STATUS.");
        }
    }

    init();
})();