Undiscord (ABANDONED)

Undiscord 5.2.4, but with some fixes.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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

*/