Skip to content

Instantly share code, notes, and snippets.

@DubyaDude
Last active July 6, 2024 21:15
Show Gist options
  • Save DubyaDude/1ee0e8c218a22883721635dfae3e022c to your computer and use it in GitHub Desktop.
Save DubyaDude/1ee0e8c218a22883721635dfae3e022c to your computer and use it in GitHub Desktop.
My list of annoying stuff I hide/disable in Discord using Quick CSS
/* Dubyas list of annoying stuff he hides in discord using Quick CSS */
/* Disable emoji inspection upsell (ty Regalia) */
[class^="nitroTextAndBadge_"], button:has([class^="premiumIcon_"]),
[class^="emojiSection_"] [class^="flex_"] div[class*="text-sm-normal"]
{
display:none;
}
/* Disable Gift Button(s) (in chat) */
button[aria-label="Send a gift"] {
display: none;
}
/* Hide things in DMs page */
li div a[href="/shop"], /* Hide 'Shop' Tab */
li div a[href="/store"] /* Hide 'Ntiro' Tab */ {
display: none;
}
/* Profile effects */
[class^="profileEffects"] {
display: none;
}
/* Avatar Decorations */
svg[class^="avatarDecoration"], /* Avatar Decorations */
img[class^="avatarDecoration"], /* Avatar Decorations in Messages */
/* Fix 'View Profile' selector with hidden decoration */
[class*="bannerSVGWrapper_"] > mask > image {
display: none;
}
[class*=avatarDecorationHint_] > foreignObject {
width: 80px;
height: 80px;
mask: url(#svg-mask-avatar-status-round-80);
}
[class*=avatarDecorationHint_] {
top: -80px;
left: 0px;
position: relative;
}
/* Disable nitro icon on members list hover and opening nitro page */
/* Some discords have the boosting capitalized, some don't, no clue why. There's probably a cleaner way to do this. */
div[class*=nameAndDecorators] div[role="button"]:has(svg[aria-label^="Server boosting since"]),
div[class*=nameAndDecorators] div[role="button"]:has(svg[aria-label^="Server Boosting since"]) {
pointer-events: none;
}
/* Disable 'Learn More' for nitro in the popout in the side DM (ty Regalia) */
div[class*=overlayBackground_]:has(button[class*=getNitroButton_]) {
display: none;
};
/* Disable nitro icon in word count (ty Regalia) */
div[class*=characterCount_] div[class*=iconOnly_]:has(svg[class*=premium_]){
display: none;
}
/* Hide 'Explore Discoverable Servers' in server page */
div[class*="listItem"]:has(div[aria-label="Explore Discoverable Servers"]) {
display: none;
}
/* Make Super Reactions less annoying (ty Regalia) */
div[class^="effectsWrapper"] {
display: none;
}
img.emoji{
opacity: 100;
}
div[class*="shakeReaction"] {
animation: none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment