Discord Token Login

Allows you to log into Discord Accounts with the Discord Account Token or copies your own Discord Account Token

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Discord Token Login
// @version      1.1
// @namespace    RealMasterOogway
// @description  Allows you to log into Discord Accounts with the Discord Account Token or copies your own Discord Account Token
// @author       realmasteroogway
// @match        https://*.discord.com/app
// @match        https://*.discord.com/channels/*
// @match        https://*.discord.com/login
// @icon         https://www.google.com/s2/favicons?sz=64&domain=discord.com
// @grant        none
// ==/UserScript==

(function () {
    var m = null
    var TokenModule = (webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]), m).find(m=>m?.exports?.default?.getToken!==void 0)
    const textbox = document.createElement('input');
    textbox.type = 'text';
    textbox.placeholder = 'Enter Token';
    textbox.style.position = 'fixed';
    textbox.style.bottom = '10px';
    textbox.style.right = '10px';
    document.body.appendChild(textbox);

    textbox.addEventListener('keydown', function (event) {
        if (event.key === 'Enter') {
            const enteredToken = textbox.value.trim();

            if (enteredToken.toLowerCase() === 'token') {
                navigator.clipboard.writeText(TokenModule.exports.default.getToken());
                textbox.value = "";
            } else {
                TokenModule.exports.default.setToken(enteredToken);
                location.reload();
            }
        }
    });
})();