DELTA MATH HACKS (FREE)

Tool

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

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

Tendrás que instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Tendrás que instalar una extensión como Tampermonkey antes de poder instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

// ==UserScript==
// @name         DELTA MATH HACKS (FREE)
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Tool
// @author       User
// @match        https://www.deltamath.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        unsafeWindow
// ==/UserScript==

(function() {
    'use strict';
    
    const b64 = atob('bHVja3lodWI3Mjc=');
    const k = b64;
    let capturedAnswers = {};

    const s = document.createElement('style');
    s.textContent = `
        @keyframes p1 {
            0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 100, 0.5), inset 0 0 20px rgba(0, 255, 100, 0.2); }
            50% { box-shadow: 0 0 40px rgba(0, 255, 100, 0.8), inset 0 0 30px rgba(0, 255, 100, 0.4); }
        }
        
        @keyframes p2 {
            from { transform: translateY(-20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        
        @keyframes p3 {
            0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 100, 0.6); }
            50% { box-shadow: 0 0 25px rgba(0, 255, 100, 1), 0 0 35px rgba(0, 255, 200, 0.8); }
        }

        .a1 {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #000a00 0%, #001a00 50%, #000a00 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            font-family: 'Courier New', monospace;
            animation: p2 0.6s ease-out;
        }

        .a2 {
            background: linear-gradient(135deg, #0a2d0a 0%, #001a00 100%);
            padding: 40px;
            border-radius: 15px;
            text-align: center;
            max-width: 420px;
            width: 90%;
            animation: p1 2s ease-in-out infinite;
            border: 2px solid #00ff64;
            box-shadow: 0 0 30px rgba(0, 255, 100, 0.6), inset 0 0 20px rgba(0, 255, 100, 0.1);
        }

        .a3 {
            color: #00ff64;
            margin: 0 0 10px 0;
            font-size: 28px;
            text-shadow: 0 0 10px #00ff64, 0 0 20px #00ff80;
            font-weight: bold;
            letter-spacing: 2px;
        }

        .a4 {
            color: #00ff80;
            font-size: 12px;
            margin-bottom: 25px;
            text-shadow: 0 0 5px #00ff80;
        }

        .a5 {
            display: block;
            margin-bottom: 12px;
            color: #00ff64;
            font-weight: bold;
            font-size: 13px;
            text-shadow: 0 0 5px #00ff64;
        }

        .a6 {
            width: 100%;
            padding: 12px;
            margin-bottom: 20px;
            border: 2px solid #00ff64;
            border-radius: 8px;
            box-sizing: border-box;
            font-size: 14px;
            background: rgba(0, 30, 0, 0.8);
            color: #00ff64;
            font-family: 'Courier New', monospace;
            transition: all 0.3s ease;
            letter-spacing: 2px;
        }

        .a6:focus {
            outline: none;
            box-shadow: 0 0 20px rgba(0, 255, 100, 0.8), inset 0 0 10px rgba(0, 255, 100, 0.2);
            border-color: #00ff80;
        }

        .a6::placeholder {
            color: rgba(0, 255, 100, 0.5);
        }

        .a7 {
            display: flex;
            gap: 12px;
            margin-bottom: 18px;
        }

        .a8 {
            flex: 1;
            padding: 13px;
            background: linear-gradient(135deg, #00ff64 0%, #00cc50 100%);
            color: #000;
            border: 2px solid #00ff64;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            font-size: 13px;
            font-family: 'Courier New', monospace;
            transition: all 0.3s ease;
            animation: p3 2s ease-in-out infinite;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .a8:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 30px rgba(0, 255, 100, 1), 0 0 50px rgba(0, 255, 150, 0.8);
            background: linear-gradient(135deg, #00ff80 0%, #00ff64 100%);
        }

        .a9 {
            color: #ff0055;
            font-size: 12px;
            display: none;
            margin-bottom: 12px;
            text-shadow: 0 0 5px #ff0055;
            font-weight: bold;
        }

        .a10 {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, #0a2d0a 0%, #001a00 100%);
            border: 2px solid #00ff64;
            border-radius: 12px;
            padding: 18px;
            z-index: 9999;
            font-family: 'Courier New', monospace;
            min-width: 220px;
            animation: p2 0.6s ease-out;
            box-shadow: 0 0 30px rgba(0, 255, 100, 0.6), inset 0 0 15px rgba(0, 255, 100, 0.1);
        }

        .a11 {
            margin: 0 0 16px 0;
            color: #00ff64;
            font-size: 15px;
            text-shadow: 0 0 8px #00ff64;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .a12 {
            width: 100%;
            padding: 11px;
            background: linear-gradient(135deg, #00ff64 0%, #00cc50 100%);
            color: #000;
            border: 2px solid #00ff64;
            border-radius: 7px;
            cursor: pointer;
            font-weight: bold;
            font-size: 12px;
            margin-bottom: 11px;
            transition: all 0.3s ease;
            font-family: 'Courier New', monospace;
            animation: p3 2s ease-in-out infinite;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .a12:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 25px rgba(0, 255, 100, 1), 0 0 40px rgba(0, 255, 150, 0.8);
            background: linear-gradient(135deg, #00ff80 0%, #00ff64 100%);
        }

        .a13 {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(0, 30, 0, 0.6);
            padding: 10px;
            border-radius: 7px;
            border: 1px solid #00ff64;
        }

        .a14 {
            width: 20px;
            height: 20px;
            cursor: pointer;
            accent-color: #00ff64;
        }

        .a15 {
            font-size: 11px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .a16 {
            color: #00ff64;
            text-shadow: 0 0 8px #00ff64;
        }

        .a17 {
            color: #ff0055;
            text-shadow: 0 0 8px #ff0055;
        }

        .a18 {
            position: fixed;
            top: 30px;
            right: 260px;
            background: linear-gradient(135deg, #00ff64 0%, #00cc50 100%);
            color: #000;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: bold;
            font-family: 'Courier New', monospace;
            z-index: 10001;
            animation: p2 0.4s ease-out;
            box-shadow: 0 0 20px rgba(0, 255, 100, 0.8);
            text-transform: uppercase;
            font-size: 12px;
        }

        .a19 {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, #0a2d0a 0%, #001a00 100%);
            border: 2px solid #00ff64;
            border-radius: 10px;
            padding: 25px;
            z-index: 10001;
            font-family: 'Courier New', monospace;
            color: #00ff64;
            text-align: center;
            box-shadow: 0 0 30px rgba(0, 255, 100, 0.6);
            max-width: 300px;
        }
    `;
    document.head.appendChild(s);

    const origFetch = window.fetch;
    window.fetch = function(...args) {
        return origFetch.apply(this, args).then(response => {
            const clone = response.clone();
            clone.json().then(data => {
                if (data && typeof data === 'object') {
                    const str = JSON.stringify(data);
                    if (str.includes('answer') || str.includes('correct') || str.includes('solution')) {
                        capturedAnswers.latest = data;
                        capturedAnswers.timestamp = Date.now();
                    }
                }
            }).catch(() => {});
            return response;
        });
    };

    const origXHR = XMLHttpRequest.prototype.open;
    XMLHttpRequest.prototype.open = function(method, url, ...args) {
        this._url = url;
        this._responseCallback = () => {
            try {
                const data = JSON.parse(this.responseText);
                if (data && typeof data === 'object') {
                    const str = JSON.stringify(data);
                    if (str.includes('answer') || str.includes('correct') || str.includes('solution')) {
                        capturedAnswers.latest = data;
                        capturedAnswers.timestamp = Date.now();
                    }
                }
            } catch(e) {}
        };
        this.addEventListener('load', this._responseCallback);
        return origXHR.apply(this, [method, url, ...args]);
    };

    const v = GM_getValue('c1', false);

    if (!v) {
        l1();
    } else {
        setTimeout(l2, 500);
    }

    function l1() {
        const o = document.createElement('div');
        o.className = 'a1';

        const c = document.createElement('div');
        c.className = 'a2';

        const t = document.createElement('h2');
        t.className = 'a3';
        t.textContent = '[ LUCKY HUB ]';
        c.appendChild(t);

        const st = document.createElement('p');
        st.className = 'a4';
        st.textContent = 'v1.0';
        c.appendChild(st);

        const l = document.createElement('label');
        l.className = 'a5';
        l.textContent = '> Enter Key:';
        c.appendChild(l);

        const i = document.createElement('input');
        i.type = 'password';
        i.className = 'a6';
        i.placeholder = 'enter key here';
        i.autocomplete = 'off';
        i.spellcheck = 'false';
        i.addEventListener('keypress', function(e) {
            if (e.key === 'Enter') f1();
        });
        c.appendChild(i);

        const bg = document.createElement('div');
        bg.className = 'a7';

        const vb = document.createElement('button');
        vb.textContent = '✓ Verify';
        vb.className = 'a8';
        vb.addEventListener('click', f1);
        bg.appendChild(vb);

        const gb = document.createElement('button');
        gb.textContent = '→ Copy Link';
        gb.className = 'a8';
        gb.addEventListener('click', f2);
        bg.appendChild(gb);

        c.appendChild(bg);

        const em = document.createElement('div');
        em.className = 'a9';
        c.appendChild(em);

        const n = document.createElement('p');
        n.style.cssText = 'color: #00ff64; font-size: 11px; margin-top: 15px; text-shadow: 0 0 5px #00ff64;';
        n.textContent = '✓ 100% FREE';
        c.appendChild(n);

        const note = document.createElement('p');
        note.style.cssText = 'color: #00ff80; font-size: 10px; margin-top: 10px; text-shadow: 0 0 5px #00ff80; font-style: italic;';
        note.textContent = '*auto answer only works for some browsers join discord for more info';
        c.appendChild(note);

        o.appendChild(c);
        document.body.appendChild(o);

        function f1() {
            const ek = i.value.trim();
            const e = document.querySelector('.a9');

            if (ek === k) {
                GM_setValue('c1', true);
                o.remove();
                l2();
            } else {
                e.textContent = '[ ERROR ] Invalid Key';
                e.style.display = 'block';
                i.value = '';
                i.focus();
            }
        }

        function f2() {
            const link = 'https://discord.gg/pg8MWk2bFb';
            const ta = document.createElement('textarea');
            ta.value = link;
            document.body.appendChild(ta);
            ta.select();
            document.execCommand('copy');
            document.body.removeChild(ta);

            const a = document.createElement('div');
            a.className = 'a19';
            a.innerHTML = '<p style="color: #00ff64; font-weight: bold; margin-top: 0; margin-bottom: 15px; text-shadow: 0 0 5px #00ff64;">[ LINK COPIED ]</p><p style="font-size: 12px; margin: 0 0 15px 0; color: #00ff64;">Discord link copied!</p><div style="font-size: 11px; color: #00ff80; word-break: break-all; margin: 15px 0; padding: 10px; background: rgba(0, 30, 0, 0.8); border-radius: 5px; text-shadow: 0 0 5px #00ff80;">discord.gg/pg8MWk2bFb</div>';
            const cb = document.createElement('button');
            cb.style.cssText = 'padding: 10px 20px; background: linear-gradient(135deg, #00ff64 0%, #00cc50 100%); color: #000; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; font-family: "Courier New", monospace; margin-top: 15px;';
            cb.textContent = '[ Close ]';
            cb.addEventListener('click', function() {
                a.remove();
            });
            a.appendChild(cb);
            document.body.appendChild(a);
        }
    }

    function l2() {
        try {
            const cp = document.createElement('div');
            cp.className = 'a10';

            const ct = document.createElement('h3');
            ct.className = 'a11';
            ct.textContent = '[ LUCKY HUB ]';
            cp.appendChild(ct);

            const aab = document.createElement('button');
            aab.textContent = '▶ Auto Answer';
            aab.className = 'a12';
            aab.addEventListener('click', f3);
            cp.appendChild(aab);

            const tc = document.createElement('div');
            tc.className = 'a13';

            const ts = document.createElement('input');
            ts.type = 'checkbox';
            ts.className = 'a14';
            ts.addEventListener('change', function() {
                const en = this.checked;
                GM_setValue('a2', en);
                st.className = 'a15 ' + (en ? 'a16' : 'a17');
                st.textContent = en ? '[ ON ]' : '[ OFF ]';
            });
            tc.appendChild(ts);

            const st = document.createElement('span');
            st.className = 'a15 a17';
            st.textContent = '[ OFF ]';
            tc.appendChild(st);

            cp.appendChild(tc);
            document.body.appendChild(cp);

            setInterval(function() {
                try {
                    if (GM_getValue('a2', false)) {
                        f3();
                    }
                } catch(e) {}
            }, 1500);
        } catch(e) {}
    }

    function f3() {
        try {
            const allInputs = document.querySelectorAll('input');
            let targetInput = null;

            for (let inp of allInputs) {
                if (inp.offsetParent !== null && !inp.disabled && inp.type !== 'password' && inp.type !== 'checkbox' && inp.type !== 'hidden' && inp.type !== 'text' || inp.type === 'text') {
                    const rect = inp.getBoundingClientRect();
                    if (rect.width > 0 && rect.height > 0 && inp.getAttribute('placeholder') !== 'Search' && inp.value === '') {
                        targetInput = inp;
                        break;
                    }
                }
            }

            if (!targetInput) return;

            let ans = null;

            if (capturedAnswers.latest && capturedAnswers.timestamp && Date.now() - capturedAnswers.timestamp < 60000) {
                const data = capturedAnswers.latest;
                const str = JSON.stringify(data);
                
                const ansMatch = str.match(/[\"']?answer[\"']?\s*[\":]\s*[\"']?([^\"'}\n,]+)[\"']?/i);
                if (ansMatch) ans = ansMatch[1];
                
                if (!ans) {
                    const solMatch = str.match(/[\"']?solution[\"']?\s*[\":]\s*[\"']?([^\"'}\n,]+)[\"']?/i);
                    if (solMatch) ans = solMatch[1];
                }

                if (!ans) {
                    const corrMatch = str.match(/[\"']?correct[\"']?\s*[\":]\s*[\"']?([^\"'}\n,]+)[\"']?/i);
                    if (corrMatch) ans = corrMatch[1];
                }
            }

            if (!ans) {
                const qText = document.body.innerText;
                const arith = [
                    { r: /(\d+(?:\.\d+)?)\s*\+\s*(\d+(?:\.\d+)?)/, s: (a, b) => a + b },
                    { r: /(\d+(?:\.\d+)?)\s*-\s*(\d+(?:\.\d+)?)/, s: (a, b) => a - b },
                    { r: /(\d+(?:\.\d+)?)\s*(?:\*|×)\s*(\d+(?:\.\d+)?)/, s: (a, b) => a * b },
                    { r: /(\d+(?:\.\d+)?)\s*(?:\/|÷)\s*(\d+(?:\.\d+)?)/, s: (a, b) => a / b },
                ];

                for (let p of arith) {
                    const m = qText.match(p.r);
                    if (m) {
                        ans = p.s(parseFloat(m[1]), parseFloat(m[2]));
                        break;
                    }
                }
            }

            if (ans) {
                const ansStr = String(ans).trim();
                targetInput.value = ansStr;
                targetInput.dispatchEvent(new Event('input', { bubbles: true }));
                targetInput.dispatchEvent(new Event('change', { bubbles: true }));
                targetInput.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', code: 'Enter', bubbles: true }));

                setTimeout(() => {
                    const btns = document.querySelectorAll('button');
                    for (let btn of btns) {
                        const txt = btn.textContent.toLowerCase();
                        if (txt.includes('submit') || txt.includes('check') || txt.includes('verify')) {
                            btn.click();
                            break;
                        }
                    }
                }, 150);

                f4('✓ Answer: ' + ansStr);
            }
        } catch(e) {}
    }

    function f4(msg) {
        try {
            const n = document.createElement('div');
            n.className = 'a18';
            n.textContent = msg;
            document.body.appendChild(n);
            setTimeout(() => {
                if (n.parentNode) n.remove();
            }, 3000);
        } catch(e) {}
    }
})();