GeoFS-V3.9_Core-Library

GeoFS-V3.9_Core-Library is the foundational engine that unifies and optimizes all modules, ensuring seamless communication, consistent visuals, and stable performance throughout the GeoFS Pro Suite.

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.greasyfork.org/scripts/575240/1815368/GeoFS-V39_Core-Library.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_Core-Library
// @namespace    https://codeberg.org/AwesomeOddEven-NightKeys-LunarBlink
// @version      1.0.0
// @description  The foundational API for the GeoFS-V3.9 ecosystem, providing secure initialization and standardized communication for all modular components.
// @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_Core-Library/raw/branch/main/core-library_standalone.user.js
// @downloadURL  https://codeberg.org/AwesomeOddEven-NightKeys-LunarBlink/GeoFS-V3.9_Core-Library/raw/branch/main/core-library_standalone.user.js
// ==/UserScript==

(function () {
    'use strict';

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

    console.log("[GeoFS-V3.9_Core-Library] >> LOADING CORE LIBRARY FROM CDN...");

    const CDN_URL = "https://AwesomeOddEven-NightKeys-LunarBlink.codeberg.page/GeoFS-V3.9_Core-Library/core-library.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_Core-Library] >> CORE LIBRARY LOGIC LOADED.");
        } catch (e) {
            console.error("[GeoFS-V3.9_Core-Library] >> FAILED TO LOAD LOGIC FROM CDN. CHECK CODEBERG PAGES WEBHOOK.");
        }
    }

    init();
})();