-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01066da
commit 8df6857
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export function onLoad() { | ||
const customCSS = ` | ||
button[aria-label="Open sticker picker"], | ||
button[aria-label="Open GIF picker"], | ||
button[aria-label="Send a gift"], | ||
div[aria-label="Help"], | ||
div[aria-label="Inbox"], | ||
div[aria-label="Add Friends to DM"], | ||
#channel-attach-SLASH_COMMAND, | ||
div[aria-label="Explore Discoverable Servers"], | ||
li.channel__0aef5:nth-child(3), | ||
li.channel__0aef5:nth-child(4), | ||
div[aria-label="Family Centre"], | ||
div[aria-label="Clips"] { | ||
display: none !important; | ||
} | ||
`; | ||
|
||
const styleElement = document.createElement('style'); | ||
styleElement.textContent = customCSS; | ||
document.head.appendChild(styleElement); | ||
console.log("Debloated CSS applied successfully!"); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "Debloater", | ||
"author": "whyisthesheep", | ||
"description": "A plugin to remove basic bloat from discord" | ||
} |