A L Z E ~ P R O X Y (gartic.io)

EN İYİ CROXY AÇICI

目前为 2024-11-05 提交的版本。查看 最新版本

// ==UserScript==
// @name                A L Z E ~ P R O X Y (gartic.io)
// @description         EN İYİ CROXY AÇICI
// @version             1.4
// @match               *://gartic.io/*
// @match               *://cdn.blockaway.net/*
// @grant               GM_addStyle
// @grant               GM_openInTab
// @namespace           ALZE
// ==/UserScript==
let site = location.href.toLowerCase();
if (site.indexOf('gartic.io') != -1) {

    let container = document.createElement('div');
    container.setAttribute('id', 'alze');
    container.style.position = 'fixed';
    container.style.right = '20px';
    container.style.top = '20px';
    container.style.width = '220px';
    container.style.height = '130px';
    container.style.zIndex = '1000';
    container.style.display = 'flex';
    container.style.alignItems = 'center';
    container.style.justifyContent = 'center';
    container.style.flexDirection = 'column';
    container.style.backgroundColor = 'black';
    container.style.borderRadius = '10px';
    container.style.boxShadow = '0 0 15px rgba(0,0,0,0.5)';

    let toggleButton = document.createElement('div');
    toggleButton.innerText = '▶';
    toggleButton.style.position = 'absolute';
    toggleButton.style.top = '5px';
    toggleButton.style.right = '5px';
    toggleButton.style.cursor = 'pointer';
    toggleButton.style.color = '#FFFFFF';
    toggleButton.style.fontSize = '18px';
    toggleButton.addEventListener('click', () => {
        if (container.style.visibility === 'hidden') {
            container.style.visibility = 'visible';
            toggleButton.innerText = '▶';
        } else {
            container.style.visibility = 'hidden';
            toggleButton.style.visibility = 'visible';
            toggleButton.innerText = '◀';
        }
    });
    document.body.appendChild(toggleButton);
    container.appendChild(toggleButton);

    let title = document.createElement('div');
    title.innerText = '🅰 🅻 🆉 🅴';
    title.style.color = '#FFFFFF';
    title.style.fontSize = '22px';
    title.style.marginBottom = '10px';
    container.appendChild(title);

    let inputContainer = document.createElement('div');
    inputContainer.style.display = 'flex';
    inputContainer.style.alignItems = 'center';

    let input = document.createElement('input');
    input.type = 'number';
    input.value = '';
    input.placeholder = 'Kaç site açılsın?';
    input.style.width = '80px';
    input.style.padding = '10px';
    input.style.textAlign = 'center';
    input.style.borderRadius = '5px';
    input.style.border = '1px solid #FFFFFF';
    input.style.backgroundColor = '#1e1e1e';
    input.style.color = '#FFFFFF';
    inputContainer.appendChild(input);

    let button = document.createElement('button');
    button.innerText = 'Aç';
    button.style.marginLeft = '10px';
    button.style.padding = '10px 10px';
    button.style.borderRadius = '5px';
    button.style.border = 'none';
    button.style.backgroundColor = '#28a745';
    button.style.color = '#FFFFFF';
    button.style.cursor = 'pointer';
    button.addEventListener("click", () => openproxy(parseInt(input.value) || 20));
    inputContainer.appendChild(button);

    container.appendChild(inputContainer);
    document.body.appendChild(container);

    function openproxy(count) {
        let link = "https://cdn.blockaway.net/_tr/?successMessage=WW91ciBhZHZlcnRpc2VtZW50IHN1YnNjcmlwdGlvbiBzdWNjZXNzZnVsbHkgY2FuY2VsbGVk&__cpLangSet=1/#" + window.location.href;
        for (let i = 0; i < count; i++) {
            GM_openInTab(link);
        }
    }
}

setInterval(function () {
    let linkyeri = document.querySelector('input[id="url"]');
    if (site.indexOf('cdn.blockaway.net') != -1) {
        if (linkyeri && linkyeri.value === "") {
            linkyeri.value = "https://gartic.io/";
            let goButton = document.querySelector('i[class="fa fa-arrow-right"]');
            if (goButton) {
                goButton.dispatchEvent(new MouseEvent("click", { bubbles: true, button: 0 }));
            }
        }
    }
}, 300);

GM_addStyle(`
    #alze:hover {
        cursor: default;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    }

    @keyframes rgbGlow {
        0% { border-color: rgb(255, 0, 0); box-shadow: 0 0 20px rgb(255, 0, 0); }
        50% { border-color: rgb(255, 127, 0); box-shadow: 0 0 30px rgb(255, 127, 0); }
        100% { border-color: rgb(255, 0, 0); box-shadow: 0 0 20px rgb(255, 0, 0); }
    }

    #alze {
        border: 2px solid rgb(255, 0, 0);
        animation: rgbGlow 1.5s infinite;
    }
`);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址