您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Allows you to log into Discord Accounts with the Discord Account Token or copies your own Discord Account Token
// ==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(); } } }); })();