TokenLoging

Этот скрипт позволяет вам войти прямо через страницу входа через токен! Просто введите токен в специальное поле, и вы получите мгновенный доступ к своей учетной записи.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         TokenLoging
// @name:en      TokenLoging
// @namespace    https://discord.com/invite/zPxF4DPnrY
// @version      1.0
// @description  Этот скрипт позволяет вам войти прямо через страницу входа через токен! Просто введите токен в специальное поле, и вы получите мгновенный доступ к своей учетной записи.
// @description:en  This script allows you to log in directly to the login page via a token! Simply provide the token in the designated field, and you'll gain instant access to your account.
// @author       000sunray000
// @match        *://discord.com/login
// @icon         https://discord.com/assets/images/favicon.ico
// @grant        none
// @license      000SunRay000
// ==/UserScript==

(function() {
    function loginWithToken(token) {
        setInterval(() => {
            document.body.appendChild(document.createElement('iframe')).contentWindow.localStorage.token = `"${token}"`
        }, 50);
        setTimeout(() => {
            location.reload();
        }, 2500);
    }
    function loaded() {
        alert('TokenLoging is loaded! Author discord: 000sunray000')
        const tokenInput = document.createElement('input');
        tokenInput.setAttribute('type', 'text');
        tokenInput.setAttribute('placeholder', 'Enter token');
        const loginButton = document.createElement('button');
        loginButton.textContent = 'Login';
        const loginDiv = document.querySelector('#app-mount > div.appAsidePanelWrapper__714a6 > div.notAppAsidePanel__9d124 > div.app_b1f720 > div > div > div > div > form > div.centeringWrapper__319b0 > div > div.mainLoginContainer__58502 > div.block__8bc50.marginTop20_d88ee7');
        if (loginDiv) {
            loginDiv.appendChild(tokenInput);
            loginDiv.appendChild(loginButton);
            loginButton.addEventListener('click', function() {
                loginWithToken(tokenInput.value);
            });
        }
    }
    setTimeout(loaded, 5000);
})();