您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Enables the discord developer settings
当前为
- // ==UserScript==
- // @name Discord Developer Mode [FIXED AGAIN]
- // @namespace http://tampermonkey.net/
- // @version 0.3
- // @description Enables the discord developer settings
- // @author You
- // @license MIT
- // @match *://discord.com/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=discord.com
- // @grant none
- // ==/UserScript==
- let wpRequire;
- window.webpackChunkdiscord_app.push([
- [Math.random()], {},
- e => {
- wpRequire = e
- }
- ]), mod = Object.values(wpRequire.c).find((e => void 0 !== e?.exports?.Z?.isDeveloper)), usermod = Object.values(wpRequire.c).find((e => e?.exports?.default?.getUsers)), nodes = Object.values(mod.exports.Z._dispatcher._actionHandlers._dependencyGraph.nodes);
- try {
- nodes.find((e => "ExperimentStore" == e.name)).actionHandler.OVERLAY_INITIALIZE({
- user: {
- flags: 1
- }
- })
- } catch (e) {}
- oldGetUser = usermod.exports.default.__proto__.getCurrentUser, usermod.exports.default.__proto__.getCurrentUser = () => ({
- hasFlag: () => !0
- }), nodes.find((e => "DeveloperExperimentStore" == e.name)).actionHandler.CONNECTION_OPEN(), usermod.exports.default.__proto__.getCurrentUser = oldGetUser;