Dynamic Event API Toggle

help users with an button

13.05.2026 itibariyledir. En son verisyonu görün.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Dynamic Event API Toggle
// @namespace    http://tampermonkey.net/
// @run-at document-start
// @version      2026-05-12
// @description  help users with an button
// @license      All Rights Reserved
// @author       You
// @match        *://wazirwin7.vip/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// ==/UserScript==
// ==UserScript==
// @name         Real Odds Freeze
// @match        *://*/*
// @run-at       document-start
// ==/UserScript==

(function () {

    const script = document.createElement('script');

    script.textContent = `

        console.log("FREEZE SYSTEM ACTIVE");

        // --------------------------------
        // STATE
        // --------------------------------

        window.__FREEZE__ = false;

        // stores last real response
        window.__LAST_DATA__ = null;

        // --------------------------------
        // BUTTON
        // --------------------------------

        function createButton() {

            const btn = document.createElement("button");

            btn.innerText = "FREEZE: OFF";

            btn.style.position = "fixed";
btn.style.top = "100px";
btn.style.right = "10px";
btn.style.zIndex = "999999";

btn.style.padding = "12px 18px";
btn.style.background = "linear-gradient(135deg, #ff4d4d, #d60000)";
btn.style.color = "#fff";

btn.style.border = "none";
btn.style.borderRadius = "14px";

btn.style.fontSize = "14px";
btn.style.fontWeight = "600";
btn.style.fontFamily = "Inter, Arial, sans-serif";
btn.style.letterSpacing = "0.3px";

btn.style.cursor = "pointer";
btn.style.boxShadow = "0 8px 20px rgba(255, 0, 0, 0.35)";
btn.style.transition = "all 0.25s ease";

btn.style.backdropFilter = "blur(6px)";
btn.style.webkitBackdropFilter = "blur(6px)";

btn.onmouseenter = () => {
    btn.style.transform = "translateY(-2px) scale(1.03)";
    btn.style.boxShadow = "0 12px 25px rgba(255, 0, 0, 0.45)";
};

btn.onmouseleave = () => {
    btn.style.transform = "translateY(0) scale(1)";
    btn.style.boxShadow = "0 8px 20px rgba(255, 0, 0, 0.35)";
};

btn.onmousedown = () => {
    btn.style.transform = "scale(0.96)";
};

btn.onmouseup = () => {
    btn.style.transform = "scale(1.03)";
};

            btn.onclick = () => {

                window.__FREEZE__ =
                    !window.__FREEZE__;

                if (window.__FREEZE__) {

                    btn.innerText = "FREEZE: ON";
                    btn.style.background = "green";

                    console.log(
                        "%c FREEZE ENABLED ",
                        "background:green;color:white"
                    );

                } else {

                    btn.innerText = "FREEZE: OFF";
                    btn.style.background = "red";

                    console.log(
                        "%c FREEZE DISABLED ",
                        "background:red;color:white"
                    );
                }
            };

            document.body.appendChild(btn);
        }

        window.addEventListener("load", createButton);

        // --------------------------------
        // JSON INTERCEPT
        // --------------------------------

        const originalParse = JSON.parse;

        JSON.parse = function (...args) {

            const result = originalParse.apply(this, args);

            // odds payload
            if (
                result &&
                result.result &&
                Array.isArray(result.result)
            ) {

                // ----------------------------
                // NORMAL MODE
                // ----------------------------

                if (!window.__FREEZE__) {

                    // keep latest live data
                    window.__LAST_DATA__ =
                        structuredClone(result);

                    console.log(
                        "%c LIVE DATA ",
                        "background:blue;color:white"
                    );

                    return result;
                }

                // ----------------------------
                // FREEZE MODE
                // ----------------------------

                console.log(
                    "%c USING FROZEN DATA ",
                    "background:red;color:white"
                );

                // return old frozen snapshot
                if (window.__LAST_DATA__) {

                    return structuredClone(
                        window.__LAST_DATA__
                    );
                }
            }

            return result;
        };

    `;

    document.documentElement.appendChild(script);

})();