Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @name Remove Buttons
- * @version 1.1.1
- * @author cheesits456
- * @authorId 306018440639152128
- * @description Remove the nitro gift, GIF picker, and sticker picker buttons from the message box. Also remove the sticker suggestion popup
- * @source https://gist.github.com/cheesits456/41d659f932b5a574b5dfb9b391a4506e
- * @invite 7QH4YeD
- * @donate https://donate.haileybot.com
- * @website https://cheesits456.dev
- */
- /* Hide Nitro gift button */
- button[aria-label="Send a gift"] {
- display: none;
- }
- /* Hide sticker picker button */
- button[aria-label="Open sticker picker"] {
- display: none;
- }
- /* Hide annoying sticker popup window that appears when you type */
- .channelTextArea-1FufC0 > .container-1ZA19X {
- display: none;
- }
- /* Remove App Launcher from chat channels */
- [class*="channelAppLauncher_"] {
- display: none !important;
- }
- ul > li[role="listitem"] a[href="/library"], ul > li[role="listitem"] a[href="/store"] { display: none; }
- /* Disable profile edit page upsell */
- div[id="profile-customization-tab"] > div[class^="container_"]
- {
- display:none;
- }
- /* 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 Channel App Launcher in chat */
- [class^="channelAppLauncher_"]
- {
- display:none;
- }
- [class^="channelAppLauncher_"] > [class^="buttonContainer_"]
- {
- display:none;
- }
- .visual-refresh .channelAppLauncher_e6e74f
- {
- display:none;
- }
- /* Hide things in DMs page */
- li div a[href="/shop"], /* Hide 'Shop' Tab */
- li div a[href="/store"] /* Hide 'Nitro' Tab */
- {
- display: none;
- }
- /* Hide DM Wallpapers */
- /* As of writing, no global toggle exists in Discord. It is handled per DM. Will disable it once that exists. */
- [class^="chatContent_"] > [class^="wallpaperContainer_"]
- {
- display:none;
- }
- [class^="chatContent_"] > [class^="thumbhashContainer_"]
- {
- display:none;
- }
- /* Hide 'Play Again'' DMs page */
- /* Disabled as this can be hidden by either:
- - Right click and click Hide
- - Or go to User Settings -> Advanced -> Show Play Again in DMs List
- [class^="container_e5a9ed"]
- {
- 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;
- }
- /* Hide nameplates background decoration on members list and DM list (ty Regalia) */
- div[class*=videoContainer_] {
- display: none;
- }
- div[class*="container"]:has(div[class*=videoContainer_]) {
- background: none !important;
- }
- /* 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 clan tag in messages, memebers list, and popout profile view */
- div[class^=body_] > span[class^="clickable_"] [role="button"],
- div[class*=compact_] span[class*="clanTagChiplet_"], /* (ty SupDos on Github) */
- span[class*="clanTagChiplet_"],
- span[class*="clanTag_"]
- {
- display: 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'/'Discover' in server page */
- div[class*="listItem"]:has(div[data-list-item-id="guildsnav___guild-discover-button"])
- {
- display: none;
- }
- /* Removes floating server list footer (currently only contains Discover) (ty gongo and provi) */
- ul[data-list-id='guildsnav'] > div[class^=footer]
- {
- display: none;
- }
- div[class*=unreadMentionsFixedFooter]
- {
- bottom: 0px;
- }
- /* Make Super Reactions less annoying (ty Regalia) */
- div[class^="effectsWrapper"]
- {
- display: none;
- }
- img.emoji
- {
- opacity: 100;
- }
- div[class*="shakeReaction"]
- {
- animation: none !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment