GeoFS-V3.9_Design-System

GeoFS-V3.9_Design-System is a sleek, glassmorphic design framework that delivers seamless visual harmony and modern elegance across the entire GeoFS flight simulation experience.

Tento skript by neměl být instalován přímo. Jedná se o knihovnu, kterou by měly jiné skripty využívat pomocí meta příkazu // @require https://update.greatest.deepsurf.us/scripts/575239/1815367/GeoFS-V39_Design-System.js

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         GeoFS-V3.9_Design-System
// @namespace    https://codeberg.org/AwesomeOddEven-NightKeys-LunarBlink
// @version      1.0.0
// @description  A unified design framework for GeoFS-V3.9, delivering a premium glassmorphic UI across all standalone modules.
// @author       AwesomeOddEven-NightKeys-LunarBlink
// @match        https://www.geo-fs.com/geofs.php*
// @grant        none
// @license      MIT
// @updateURL    https://codeberg.org/AwesomeOddEven-NightKeys-LunarBlink/GeoFS-V3.9_Design-System/raw/branch/main/design-system_standalone.user.js
// @downloadURL  https://codeberg.org/AwesomeOddEven-NightKeys-LunarBlink/GeoFS-V3.9_Design-System/raw/branch/main/design-system_standalone.user.js
// ==/UserScript==

(function () {
    'use strict';

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

    console.log("[GeoFS-V3.9_Design-System] >> LOADING DESIGN SYSTEM FROM CDN...");

    const CDN_URL = "https://AwesomeOddEven-NightKeys-LunarBlink.codeberg.page/GeoFS-V3.9_Design-System/design-system.js";

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

    async function init() {
        try {
            await loadScript(CDN_URL);
            console.log("[GeoFS-V3.9_Design-System] >> DESIGN SYSTEM LOGIC LOADED.");
        } catch (e) {
            console.error("[GeoFS-V3.9_Design-System] >> FAILED TO LOAD LOGIC FROM CDN. CHECK CODEBERG PAGES WEBHOOK.");
        }
    }

    init();
})();