您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
取得 Discord Token
- // ==UserScript==
- // @name 顯示 Discord Token
- // @description 取得 Discord Token
- // @version 1.0
- // @license MIT
- // @match *://*.discord.com/channels/*
- // @icon https://www.google.com/s2/favicons?domain=discord.com&sz=256
- // @namespace https://greasyfork.org/users/1447528
- // ==/UserScript==
- (async () => {
- // 取得Token
- let token = localStorage.getItem("token")
- .split('"')
- .join("");
- let button = document.createElement("button");
- button.textContent = "顯示 Discord Token";
- button.style.position = "fixed";
- button.style.top = "10px";
- button.style.right = "10px";
- button.style.zIndex = "9999";
- button.onclick = function() {
- prompt("Your Discord token:", token);
- };
- document.body.appendChild(button);
- })();