Verify kour.io (Yellow Badge)WORKING

verification script with yellow checkmark badge (demo version)

// ==UserScript==
// @name         Verify kour.io (Yellow Badge)WORKING
// @namespace    LC
// @version      0.7
// @description  verification script with yellow checkmark badge (demo version)
// @author       LC
// @license      MIT
// @match        https://kour.io/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    // Add dark theme CSS styles + yellow badge
    GM_addStyle(`
        #lcVerifyContainer {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 9999;
            background: #1a1a1a;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            padding: 15px;
            width: 250px;
            border: 1px solid #333;
        }

        #lcVerifyHeader {
            color: #FFD700;
            margin-bottom: 15px;
            font-size: 16px;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        #lcVerifyBtn {
            background: linear-gradient(135deg, #FFD700, #FFB700);
            color: black;
            border: none;
            padding: 8px 15px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            width: 100%;
            margin-bottom: 10px;
            transition: all 0.2s;
        }

        #lcVerifyBtn:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        #lcHideBtn {
            background: #333;
            color: #ccc;
            border: none;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }

        #lcHideBtn:hover {
            background: #444;
            color: white;
        }

        #lcVerifyStatus {
            font-size: 13px;
            color: #aaa;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid #333;
            text-align: center;
        }

        .success {
            color: #2ecc71 !important;
        }

        .error {
            color: #ff4757 !important;
        }

        .processing {
            color: #FFD700 !important;
        }

        .hidden {
            display: none;
        }

        /* Yellow badge */
        .lc-yellow-badge {
            display: inline-block;
            width: 20px;
            height: 20px;
            background-image: url('data:image/svg+xml;utf8,<svg fill="%23FFD700" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 12l-2.12-2.12.12-2.98-2.98-.12L12 2 9.88 4.78 6.9 4.66l-.12 2.98L2 12l2.12 2.12-.12 2.98 2.98.12L12 22l2.12-2.12 2.98.12.12-2.98L22 12zm-12 2.59l-2.59-2.59L7 13l3 3 7-7-1.41-1.42L10 14.59z"/></svg>');
            background-size: contain;
            background-repeat: no-repeat;
        }
    `);

    // Create the verification panel HTML
    const panelHTML = `
        <div id="lcVerifyContainer">
            <div id="lcVerifyHeader">
                <span>LC Verification <span class="lc-yellow-badge"></span></span>
                <button id="lcHideBtn">Hide</button>
            </div>
            <button id="lcVerifyBtn">Verify Account</button>
            <div id="lcVerifyStatus">Ready to verify</div>
        </div>
    `;

    // Insert the panel into the page
    document.body.insertAdjacentHTML('beforeend', panelHTML);

    // Get panel elements
    const verifyBtn = document.getElementById('lcVerifyBtn');
    const statusText = document.getElementById('lcVerifyStatus');
    const hideBtn = document.getElementById('lcHideBtn');
    const container = document.getElementById('lcVerifyContainer');

    // Hide/show functionality
    hideBtn.addEventListener('click', () => {
        container.classList.toggle('hidden');
        hideBtn.textContent = container.classList.contains('hidden') ? 'Show' : 'Hide';
    });

    // Verification functionality (demo)
    verifyBtn.addEventListener('click', () => {
        statusText.textContent = "Verifying...";
        statusText.className = "processing";

        setTimeout(() => {
            statusText.textContent = "Account verified successfully!";
            statusText.className = "success";

            // Example: add yellow checkmark badge after the username
            const usernameEl = document.querySelector(".player-username");
            if (usernameEl && !usernameEl.querySelector(".lc-yellow-badge")) {
                const badge = document.createElement("span");
                badge.className = "lc-yellow-badge";
                badge.style.marginLeft = "6px";
                usernameEl.appendChild(badge);
            }
        }, 500);
    });
})();

QingJ © 2025

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