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.

สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.greasyfork.org/scripts/575240/1815368/GeoFS-V39_Core-Library.js

คุณจะต้องติดตั้งส่วนขยาย เช่น 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.

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==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();
})();