Undiscord (ABANDONED)

Undiscord 5.2.4, but with some fixes.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name            Undiscord (ABANDONED)
// @description     Undiscord 5.2.4, but with some fixes.
// @version         5.2.4.with.fixes.a.ABANDONED
// @author          victornpb
// @homepageURL     https://github.com/victornpb/undiscord
// @supportURL      https://github.com/victornpb/undiscord/discussions
// @match           https://*.discord.com/app
// @match           https://*.discord.com/channels/*
// @match           https://*.discord.com/login
// @license         MIT
// @namespace       https://github.com/victornpb/deleteDiscordMessages
// @icon            https://victornpb.github.io/undiscord/images/icon128.png
// @contributionURL https://www.buymeacoffee.com/vitim
// @grant           none
// ==/UserScript==

$("").css({"display" : "none"});

/*

UPDATE: MY FIXED UNDISCORD VERSION WORKS, BUT I SWITCHED TO DISCRUB BECAUSE UNDISCORD IS 💩. I MADE THE SWITCH BACK IN JULY 2025 AND THAT IS WHEN I UNLISTED THIS USERSCRIPT. SINCE THIS USERSCRIPT IS UNLISTED, I AM SURPRISED THAT PEOPLE ARE STILL INSTALLING IT. THERE HAVE BEEN HUNDREDS OF NEW INSTALLS SINCE AUGUEST 2025. PLEASE DO YOURSELF A FAVOR AND DON'T USE THIS USERSCRIPT ANYMORE. GO TO THE CHROME WEB STORE AND INSTALL THE DISCRUB EXTENSION INSTEAD. IT DOES THE SAME THING, BUT IT IS MUCH BETTER AND IS BEING ACTIVELY MAINTAINED. IT IS OPEN SOURCE, RELIABLE, AND HAS HUNDREDS OF POSITIVE REVIEWS. I USED IT TO DELETE 40,000 DM MESSAGES WITH NO PROBLEMS.

USE THIS INSTEAD:
Discrub
https://chromewebstore.google.com/detail/discrub/plhdclenpaecffbcefjmpkkbdpkmhhbj
Notes: A working alternative to Undiscord that you can install from Chrome Web Store.

Go to the following page if you want to know the backstory of this userscript that you have installed and why I made it Unlisted:
https://greasyfork.org/en/scripts/502561

*/