Last active
February 12, 2024 10:33
-
-
Save No-Eul/3ea69c46830f959aa1f56d6d317240b7 to your computer and use it in GitHub Desktop.
Hide Blocked Message in Discord
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var hideBlockedMessage = setInterval(() => { | |
document.querySelectorAll('div[class^="groupStart"]') // Get all the 'Blocked message's | |
.forEach(blockMsg => blockMsg.hidden ? void undefined : blockMsg.hidden = true) // Then change 'hidden' value of the tags to true if it isn't hidden | |
}, 50); // period; You can remove this value, but it may be increase stress on the browser or client | |
// clearInterval(hideBlockedMessage); | |
// If you want to show the blocked message again, you can run this code. Then go to other channel and come back, you'll see the hidden message. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy this code, and paste into the console of your browser or Discord client!
Before Opening DevTools:
How to Open DevTools:
이 코드를 복사해서 당신의 브라우저나 디스코드 콘솔에 붙여넣으세요!
개발자 도구를 열기전에:
개발자 도구 여는 방법: