A L Z E ~ P R O X Y 2.0

EN İYİ CROXY AÇICI

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==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               *://www.croxyproxy.rocks/*
// @grant               GM_addStyle
// @grant               GM_openInTab
// @license             MIT
// @icon                https://www.google.com/s2/favicons?sz=64&domain=gartic.io
// @namespace           ALZE
// ==/UserScript==

if (location.href.includes('gartic.io')) {
    let button = document.createElement('div');
    button.innerHTML = '<span style="font-size: 10px; font-family: Arial, sans-serif;">ALZE</span>';
    button.style.position = 'fixed';
    button.style.top = '20px';
    button.style.right = '20px';
    button.style.width = '50px';
    button.style.height = '50px';
    button.style.background = 'linear-gradient(145deg, #222, #111)';
    button.style.color = '#fff';
    button.style.fontSize = '14px';
    button.style.fontWeight = 'bold';
    button.style.display = 'flex';
    button.style.alignItems = 'center';
    button.style.justifyContent = 'center';
    button.style.borderRadius = '50%';
    button.style.cursor = 'pointer';
    button.style.zIndex = '1000';
    button.style.boxShadow = '0 4px 10px rgba(0, 0, 0, 0.3)';
    button.style.transition = 'box-shadow 0.3s ease-in-out';

    button.addEventListener('click', () => openproxy(15));

    document.body.appendChild(button);

    function openproxy(count) {
        let link = "https://www.croxyproxy.rocks/";
        for (let i = 0; i < count; i++) {
            GM_openInTab(link);
        }
    }
}

setInterval(function () {
    let linkyeri = document.querySelector('input[placeholder="Enter an URL or a search query to access"]');
    if (window.location.href.includes("croxyproxy.rocks")) {
        if (linkyeri && linkyeri.value === "") {
            linkyeri.value = "gartic.io/favicon.ico";
            let goButton = document.querySelector('i[class="fa fa-arrow-right"]');
            if (goButton) {
                goButton.dispatchEvent(new MouseEvent("click", { bubbles: true, button: 0 }));
            }
        }
    }
}, 300);