A L Z E ~ P R O X Y 2.0

EN İYİ CROXY AÇICI

目前為 2025-02-12 提交的版本,檢視 最新版本

// ==UserScript==
// @name                A L Z E ~ P R O X Y 2.0
// @description         EN İYİ CROXY AÇICI
// @version             2.0
// @match               *://gartic.io/*
// @match               *://cdn.blockaway.net/*
// @grant               GM_addStyle
// @grant               GM_openInTab
// @license             MIT
// @icon                https://www.google.com/s2/favicons?sz=64&domain=gartic.io
// @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.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 = '20px';
    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 = '20px';
    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 = '100px';
input.style.padding = '6px';
input.style.textAlign = 'center';
input.style.borderRadius = '5px';
input.style.border = '1px solid #000000';
input.style.backgroundColor = '#000000';
input.style.color = '#FFFFFF';

const style = document.createElement('style');
style.innerHTML = 'input::placeholder { color: #CCCCCC; }';
document.head.appendChild(style);

document.body.appendChild(input);

    input.style.webkitAppearance = 'none';
    input.style.mozAppearance = 'textfield';

    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 = '#00000';
    button.style.color = '#FFFFFF';
    button.style.cursor = 'pointer';
    button.addEventListener("click", () => openproxy(parseInt(input.value) || 15));
    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 {
    border: 2px solid rgb(0, 102, 255);
    border-radius: 10px;
    padding: 2px;
    font-size: 80%;
    width: 30%;
    max-height: 100px;
    height: auto;
    background: url('https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExeXE1bTRyYXVxZjljNHoxZWN6Nm52eDk4djd6NXprMXlrdW96eDZpOSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/sNUWF7fAUP2q4/giphy.gif') no-repeat center center;
    background-size: cover;
    transition: all 0.3s ease-in-out;
    animation: azFlagGlow 2s infinite alternate;
    overflow: hidden;
}
    #alze:hover {
        cursor: pointer;
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    }

@keyframes azFlagGlow {
    0% { border-color: rgb(0, 0, 0); box-shadow: 0 0 15px rgba(0, 0, 0, 0.7); }
    50% { border-color: rgb(255, 255, 255); box-shadow: 0 0 20px rgba(255, 255, 255, 0.9); }
    100% { border-color: rgb(0, 0, 0); box-shadow: 0 0 15px rgba(0, 0, 0, 0.7); }
}

    input[type=number] {
        -moz-appearance: textfield;
    }
    input[type=number]::-webkit-outer-spin-button,
    input[type=number]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
`);

QingJ © 2025

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