Abnormalcat

Untitled

Jul 9th, 2025
820
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.84 KB | Software | 0 0
  1. /**
  2.  * @name Remove Buttons
  3.  * @version 1.1.1
  4.  * @author cheesits456
  5.  * @authorId 306018440639152128
  6.  * @description Remove the nitro gift, GIF picker, and sticker picker buttons from the message box. Also remove the sticker suggestion popup
  7.  * @source https://gist.github.com/cheesits456/41d659f932b5a574b5dfb9b391a4506e
  8.  * @invite 7QH4YeD
  9.  * @donate https://donate.haileybot.com
  10.  * @website https://cheesits456.dev
  11. */
  12.  
  13. /* Hide Nitro gift button */
  14. button[aria-label="Send a gift"] {
  15.     display: none;
  16. }
  17. /* Hide sticker picker button */
  18. button[aria-label="Open sticker picker"] {
  19.     display: none;
  20. }
  21. /* Hide annoying sticker popup window that appears when you type */
  22. .channelTextArea-1FufC0 > .container-1ZA19X {
  23.     display: none;
  24. }
  25. /* Remove App Launcher from chat channels */
  26. [class*="channelAppLauncher_"] {
  27.   display: none !important;
  28. }
  29. ul > li[role="listitem"] a[href="/library"], ul > li[role="listitem"] a[href="/store"] { display: none; }
  30.  
  31. /* Disable profile edit page upsell */
  32. div[id="profile-customization-tab"] > div[class^="container_"]
  33. {
  34.     display:none;
  35. }
  36.  
  37. /* Disable emoji inspection upsell (ty Regalia) */
  38. [class^="nitroTextAndBadge_"], button:has([class^="premiumIcon_"]),
  39. [class^="emojiSection_"] [class^="flex_"] div[class*="text-sm-normal"]
  40. {
  41.     display:none;
  42. }
  43.  
  44. /* Disable Gift Button(s) (in chat) */
  45. button[aria-label="Send a gift"]
  46. {
  47.     display: none;
  48. }
  49.  
  50. /* Hide Channel App Launcher in chat */
  51. [class^="channelAppLauncher_"]
  52. {
  53.     display:none;
  54. }
  55. [class^="channelAppLauncher_"] > [class^="buttonContainer_"]
  56. {
  57.     display:none;
  58. }
  59. .visual-refresh .channelAppLauncher_e6e74f
  60. {
  61.     display:none;
  62. }
  63.  
  64. /* Hide things in DMs page */
  65. li div a[href="/shop"], /* Hide 'Shop' Tab */
  66. li div a[href="/store"] /* Hide 'Nitro' Tab */
  67. {
  68.   display: none;
  69. }
  70.  
  71. /* Hide DM Wallpapers */
  72. /* As of writing, no global toggle exists in Discord. It is handled per DM. Will disable it once that exists. */
  73. [class^="chatContent_"] > [class^="wallpaperContainer_"]
  74. {
  75.     display:none;
  76. }
  77. [class^="chatContent_"] > [class^="thumbhashContainer_"]
  78. {
  79.     display:none;
  80. }
  81.  
  82. /* Hide 'Play Again'' DMs page */
  83. /* Disabled as this can be hidden by either:
  84.    - Right click and click Hide
  85.    - Or go to User Settings -> Advanced -> Show Play Again in DMs List
  86.  
  87. [class^="container_e5a9ed"]
  88. {
  89.     display:none;
  90. }
  91. */
  92.  
  93. /* Profile effects */
  94. [class^="profileEffects"]
  95. {
  96.     display: none;
  97. }
  98.  
  99. /* Avatar Decorations */
  100. svg[class^="avatarDecoration"],             /* Avatar Decorations */
  101. img[class^="avatarDecoration"],             /* Avatar Decorations in Messages */
  102. /* Fix 'View Profile' selector with hidden decoration */
  103. [class*="bannerSVGWrapper_"] > mask > image
  104. {
  105.     display: none;
  106. }
  107. [class*=avatarDecorationHint_] > foreignObject
  108. {
  109.   width: 80px;
  110.   height: 80px;
  111.   mask: url(#svg-mask-avatar-status-round-80);
  112. }
  113. [class*=avatarDecorationHint_]
  114. {
  115.   top: -80px;
  116.   left: 0px;
  117.   position: relative;
  118. }
  119.  
  120.  
  121. /* Hide nameplates background decoration on members list and DM list (ty Regalia) */
  122. div[class*=videoContainer_] {
  123.     display: none;
  124. }
  125.  
  126. div[class*="container"]:has(div[class*=videoContainer_]) {
  127.     background: none !important;
  128. }
  129.  
  130. /* Disable nitro icon on members list hover and opening nitro page */
  131. /* Some discords have the boosting capitalized, some don't, no clue why. There's probably a cleaner way to do this. */
  132. div[class*=nameAndDecorators] div[role="button"]:has(svg[aria-label^="Server boosting since"]),
  133. div[class*=nameAndDecorators] div[role="button"]:has(svg[aria-label^="Server Boosting since"])
  134. {
  135.     pointer-events: none;
  136. }
  137.  
  138. /* Disable clan tag in messages, memebers list, and popout profile view */
  139. div[class^=body_] > span[class^="clickable_"] [role="button"],
  140. div[class*=compact_] span[class*="clanTagChiplet_"], /* (ty SupDos on Github) */
  141. span[class*="clanTagChiplet_"],
  142. span[class*="clanTag_"]
  143. {
  144.     display: none;
  145. }
  146.  
  147. /* Disable 'Learn More' for nitro in the popout in the side DM (ty Regalia) */
  148. div[class*=overlayBackground_]:has(button[class*=getNitroButton_])
  149. {
  150.     display: none;
  151. };
  152.  
  153. /* Disable nitro icon in word count (ty Regalia) */
  154. div[class*=characterCount_] div[class*=iconOnly_]:has(svg[class*=premium_])
  155. {
  156.     display: none;
  157. }
  158.  
  159. /* Hide 'Explore Discoverable Servers'/'Discover' in server page */
  160. div[class*="listItem"]:has(div[data-list-item-id="guildsnav___guild-discover-button"])
  161. {
  162.   display: none;
  163. }
  164.  
  165. /* Removes floating server list footer (currently only contains Discover) (ty gongo and provi) */
  166. ul[data-list-id='guildsnav'] > div[class^=footer]
  167. {
  168.   display: none;
  169. }
  170. div[class*=unreadMentionsFixedFooter]
  171. {
  172.   bottom: 0px;
  173. }
  174.  
  175. /* Make Super Reactions less annoying (ty Regalia) */
  176. div[class^="effectsWrapper"]
  177. {
  178.     display: none;
  179. }
  180. img.emoji
  181. {
  182.     opacity: 100;
  183. }
  184. div[class*="shakeReaction"]
  185. {
  186.     animation: none !important;
  187. }
Advertisement
Add Comment
Please, Sign In to add comment