Skip to content

Instantly share code, notes, and snippets.

@andreiagmu
Forked from TheSunCat/DisblockOrigin.theme.css
Created March 11, 2024 19:02
Show Gist options
  • Save andreiagmu/8719d95b94a417932ffd4331e2be9d33 to your computer and use it in GitHub Desktop.
Save andreiagmu/8719d95b94a417932ffd4331e2be9d33 to your computer and use it in GitHub Desktop.

Revisions

  1. @TheSunCat TheSunCat revised this gist Mar 8, 2024. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -82,6 +82,15 @@ div[class*="hasCollectiblesUpsell"] > div[class ^="userPopoutInner"] > div[class
    /* Hide "Gift Nitro" button in DM User Profile sidebar */
    button[class*=" giftButton"] { display: none; }

    /* Emoji popout: "Get nitro" button */
    button[class^=shinyButton]:has(div[class*=premiumSubscribeButton]) { display: none; }

    /* Emoji popout: "Powered by nitro" text */
    div[class^=nitroTextAndBadge] { display: none; }

    /* Hide "Custom emojis" Nitro text from hover tooltip */
    div[class^=tooltipPremiumContent] { display: none; }

    /* ------------- */
    /* Server boosts */
    /* ------------- */
  2. @TheSunCat TheSunCat revised this gist Feb 14, 2024. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -79,6 +79,9 @@ div[class^="premiumIconWrapper"] { display: none; }
    /* Hide "Level up your look" ad in account profile popout */
    div[class*="hasCollectiblesUpsell"] > div[class ^="userPopoutInner"] > div[class*="animation_"] { display: none; }

    /* Hide "Gift Nitro" button in DM User Profile sidebar */
    button[class*=" giftButton"] { display: none; }

    /* ------------- */
    /* Server boosts */
    /* ------------- */
  3. @TheSunCat TheSunCat revised this gist Feb 10, 2024. 1 changed file with 7 additions and 11 deletions.
    18 changes: 7 additions & 11 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,6 @@
    /**
    * @name Adblock
    * @author TheSunCat and contributors
    * @version 1.0.0
    * @description Hide all Nitro & Boost upsells on Discord!
    * @source https://gist.github.com/TheSunCat/58fedaa19d6154ef3e4b2b676c286906
    */
    @@ -13,8 +12,6 @@
    /* Chatbox buttons */
    div[aria-label="Start an Activity"] { display: none; }
    button[aria-label="Send a gift"] { display: none; }
    button[aria-label="Open GIF picker"] { display: none; }
    button[aria-label="Open sticker picker"] { display: none; }

    /* Hide Nitro button in Home */
    a[data-list-item-id$="___nitro"] { display: none; }
    @@ -70,9 +67,6 @@ div[class^="selectionGroup"]:has(div[role="radiogroup"] > div > div[class^="pres
    /* Appearance: Theme upsells */
    section[class*="basicThemeSelectors_"] + section { display: none; }

    /* Hide sticker picker */
    button[id="sticker-picker-tab"] { display: none; }

    /* Hide message size upsells */
    div[class^="characterCount"] > div[class*=" upsell_"] { display: none; }

    @@ -147,6 +141,13 @@ div[class^="burstReactionTooltipPrompt"] { display: none; }
    /* General annoyances */
    /* ------------------ */

    /* Chatbox buttons */
    button[aria-label="Open GIF picker"] { display: none; }
    button[aria-label="Open sticker picker"] { display: none; }

    /* Stickers tab in emoji/GIF picker (can always be opened if needed with Ctrl+S) */
    button[id="sticker-picker-tab"] { display: none; }

    /* Avatar decorations */
    svg[class*="avatarDecoration_"] { display: none; }
    img[class^="avatarDecoration_"] { display: none; }
    @@ -193,8 +194,3 @@ a[data-list-item-id*="___library"] { display: none; }
    /* ------------------ */
    /* Temporary events */
    /* ------------------ */

    /* "Falloween" in (user) profile */
    [class*="falloweenBackgroundImage"] { display: none; }
    [class*="falloweenArtContainer"] { display: none; }
    [class*="artContainer"] { display: none; }
  4. @TheSunCat TheSunCat revised this gist Jan 11, 2024. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -35,8 +35,8 @@ div[aria-label="User Settings"] > div[aria-label="Gift Inventory"] + div[class^=
    div[aria-label="User Settings"] > div[aria-label="Gift Inventory"] + div[class^="item_"] + div[class^="separator"] { display: none; }

    /* Hide Billing header and separator */
    div[aria-label="User Settings"] > div[aria-label="Connections"] + div[class^="item_"] + div[class^="separator_"] + div[class^="header_"] { display: none; }
    div[aria-label="User Settings"] > div[aria-label="Connections"] + div[class^="item_"] + div[class^="separator_"] + div[class^="header_"] ~ div[class^="header_"] { display: block; }
    div[aria-label="User Settings"] > div[aria-label="Clips"] + div[class^="item_"] + div[class^="separator_"] + div[class^="header_"] { display: none; }
    div[aria-label="User Settings"] > div[aria-label="Clips"] + div[class^="item_"] + div[class^="separator_"] + div[class^="header_"] ~ div[class^="header_"] { display: block; }

    /* Server Profiles: Make unique profiles for each server box */
    div[class*="upsellOverlayContainer_"] { display: none; }
  5. @TheSunCat TheSunCat revised this gist Jan 11, 2024. 1 changed file with 7 additions and 3 deletions.
    10 changes: 7 additions & 3 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -41,15 +41,19 @@ div[aria-label="User Settings"] > div[aria-label="Connections"] + div[class^="it
    /* Server Profiles: Make unique profiles for each server box */
    div[class*="upsellOverlayContainer_"] { display: none; }

    /* Profiles: Choose a GIF avatar */
    div[class^="optionBox"]:has(div[class^="text-sm-semibold"] > div[class^="optionBoxText"] > div[class^="optionBoxDescription"] > div[class^="nitroWheelFlairContainer"]) { display: none; }

    /* Profiles: Change decorations exclusive to Nitro */
    div[class*="decorationGridItem"]:has(div[class*="iconBadge"]) { display: none; } /* Decorations */
    div[class*="effectGridItem"]:has(div[class*="iconBadge"]) { display: none; } /* Effects */

    /* Profiles: Try out Nitro! box */
    div[class^="premiumFeatureBorder"] { display: none; }

    /* Profiles: New style ad */
    #profile-customization-tab > div[class^="container"]:has(button[class*="colorBrand"]) { display: none; }

    /* Profiles: Profile effect box (this only gets the separator because of the above rule*/
    div[class^="customizationSection"]:has(div[class^="premiumFeatureBorder"]) { display: none; }

    /* Profiles: Per server avatar */
    div[class^="imageUploaderInner"] + div[class^="imageUploaderHint"] { display: none; }
    div[class^="imageUploaderInner"] + div[class^="imageUploaderHint"] + div[class^="imageUploaderIcon"]{ display: none; }
  6. @TheSunCat TheSunCat revised this gist Jan 11, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -79,7 +79,7 @@ button[class*=" selectorButtonPremiumRequired"] { display: none; }
    div[class^="premiumIconWrapper"] { display: none; }

    /* Hide "Level up your look" ad in account profile popout */
    div[class^="container_"]:has(div[class^="ctaContainer"]) { display: none; }
    div[class*="hasCollectiblesUpsell"] > div[class ^="userPopoutInner"] > div[class*="animation_"] { display: none; }

    /* ------------- */
    /* Server boosts */
  7. @TheSunCat TheSunCat revised this gist Dec 4, 2023. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -78,6 +78,9 @@ button[class*=" selectorButtonPremiumRequired"] { display: none; }
    /* Hide ad in profile banners */
    div[class^="premiumIconWrapper"] { display: none; }

    /* Hide "Level up your look" ad in account profile popout */
    div[class^="container_"]:has(div[class^="ctaContainer"]) { display: none; }

    /* ------------- */
    /* Server boosts */
    /* ------------- */
  8. @TheSunCat TheSunCat revised this gist Nov 30, 2023. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,4 @@
    /* Hide Library button in Home */
    a[data-list-item-id*="___library"] { display: none; }/**
    /**
    * @name Adblock
    * @author TheSunCat and contributors
    * @version 1.0.0
  9. @TheSunCat TheSunCat revised this gist Nov 30, 2023. 1 changed file with 7 additions and 3 deletions.
    10 changes: 7 additions & 3 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    /**
    /* Hide Library button in Home */
    a[data-list-item-id*="___library"] { display: none; }/**
    * @name Adblock
    * @author TheSunCat
    * @author TheSunCat and contributors
    * @version 1.0.0
    * @description Hide all Nitro & Boost upsells on Discord!
    * @source https://gist.github.com/TheSunCat/58fedaa19d6154ef3e4b2b676c286906
    @@ -164,10 +165,13 @@ div[aria-label="Help"] { display: none; }
    /* Hide explore servers button */
    div[aria-label="Servers"] + div + div { display: none; }

    /* Hide download button */
    /* Hide download button in web version */
    div[aria-label="Servers"] + div[class^="tutorialContainer"] + div + div { display: none; } /* separator */
    div[aria-label="Servers"] + div[class^="tutorialContainer"] + div + div + div { display: none; } /* button & click target */

    /* Hide Library button in Home */
    a[data-list-item-id*="___library"] { display: none; }

    /* Nitro profile badge */
    /* div[class^="clickable-"][aria-label^="Subscriber since"] { display: none; }*/

  10. @TheSunCat TheSunCat revised this gist Nov 30, 2023. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -144,6 +144,9 @@ div[class^="burstReactionTooltipPrompt"] { display: none; }
    svg[class*="avatarDecoration_"] { display: none; }
    img[class^="avatarDecoration_"] { display: none; }

    /* Avatar decorations upsell */
    div[class*="userProfileInner_"] > div:has(div[aria-label="Go to Shop"]) { display: none; }

    /* Profile effects */
    div[class^="profileEffects"] { display: none; }

  11. @TheSunCat TheSunCat revised this gist Nov 19, 2023. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -44,6 +44,9 @@ div[class*="upsellOverlayContainer_"] { display: none; }
    /* Profiles: Try out Nitro! box */
    div[class^="premiumFeatureBorder"] { display: none; }

    /* Profiles: New style ad */
    #profile-customization-tab > div[class^="container"]:has(button[class*="colorBrand"]) { display: none; }

    /* Profiles: Profile effect box (this only gets the separator because of the above rule*/
    div[class^="customizationSection"]:has(div[class^="premiumFeatureBorder"]) { display: none; }

  12. @TheSunCat TheSunCat revised this gist Oct 30, 2023. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -171,6 +171,9 @@ div[aria-label="Servers"] + div[class^="tutorialContainer"] + div + div + div {
    /* Server booster member list badge */
    /* svg[aria-label^="Server boosting since"] { display: none; } */

    /* Hide all super reactions entirely */
    /* div[id*="message-reactions"] div:has(div div[aria-label*="super reaction"]) { display: none; } */

    /* ------------------ */
    /* Temporary events */
    /* ------------------ */
  13. @TheSunCat TheSunCat revised this gist Oct 28, 2023. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -126,6 +126,7 @@ img[class*="hideEmoji"] { animation: blink-emoji 1s linear infinite; opacity: 25
    }

    /* Add Super Reaction menu item */
    #message-add-reaction-1 { display: none; }
    #message-actions-add-reaction-1 { display: none; }
    div[aria-label="Add Super Reaction"] { display: none; }

  14. @TheSunCat TheSunCat revised this gist Oct 27, 2023. 1 changed file with 81 additions and 95 deletions.
    176 changes: 81 additions & 95 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -20,157 +20,133 @@ button[aria-label="Open sticker picker"] { display: none; }
    a[data-list-item-id$="___nitro"] { display: none; }

    /* Hide shop button in Home */
    a[data-list-item-id$="___shop"] { display: none; }
    a[data-list-item-id*="shop"] { display: none; }

    /* Join more than 100 servers upsell */
    /* TODO also hide the button when it appears sometimes */
    .tutorialContainer-11ICd5 + .listItem-2Ig28I > .listItemWrapper-2MsAsM { display: none; }
    .nitroUpsell-27TJ8P { display: none; }

    /* Hide Nitro separator in settings */
    deiv[aria-label="User Settings"] > div[class^="separator"] { display: none; }
    deiv[aria-label="User Settings"] > div[class^="separator"] ~ div[class^="separator"] { display: block; }
    /* TODO: join more than 100 servers upsell */

    /* Hide Nitro tabs in Settings */
    div[aria-label="User Settings"] > div[aria-label="Nitro"] { display: none; }
    div[aria-label="User Settings"] > div[aria-label="Nitro"] + div { display: none; }
    div[aria-label="User Settings"] > div[aria-label="Subscriptions"] { display: none; }
    div[aria-label="User Settings"] > div[aria-label="Gift Inventory"] { display: none; }
    div[aria-label="User Settings"] > div[aria-label="Gift Inventory"] + div[class^="item-"] { display: none; }
    div[aria-label="User Settings"] > div[aria-label="Gift Inventory"] + div[class^="item_"] { display: none; }

    /* Hide Nitro separator in settings */
    div[aria-label="User Settings"] > div[aria-label="Gift Inventory"] + div[class^="item_"] + div[class^="separator"] { display: none; }

    /* Hide Billing header and separator */
    div[aria-label="User Settings"] > div[aria-label="Connections"] + div[class^="item-"] + div[class^="separator-"] + div[class^="header-"] { display: none; }
    div[aria-label="User Settings"] > div[aria-label="Gift Inventory"] + div[class^="item-"] + div[class^="separator-"] { display: none; }

    /* Hide profile customization upsells */
    div[id="account-style-your-profile"] { display: none; }
    button[class^="shinyButton"] { display: none; }
    svg[class^="nitro"] { display: none; }
    div[class^="bannerNitroUpsell"] { display: none; }
    div[class^="optionBox"]:nth-of-type(2) { display: none; }
    div[aria-label="User Settings"] > div[aria-label="Connections"] + div[class^="item_"] + div[class^="separator_"] + div[class^="header_"] { display: none; }
    div[aria-label="User Settings"] > div[aria-label="Connections"] + div[class^="item_"] + div[class^="separator_"] + div[class^="header_"] ~ div[class^="header_"] { display: block; }

    /* Server Profiles: Make unique profiles for each server box */
    div[class*="upsellOverlayContainer_"] { display: none; }

    /* Profiles: Try out Nitro! box */
    div[class^="premiumFeatureBorder"] { display: none; }
    div[class*="upsellOverlayContainer-"] { display: none; }

    /* Hide icon upsell */
    [class^="selectionGroup-"] , [class^="presets-"] > [class*="appIconSelectionContainer-"] { display: none; }
    /* Profiles: Profile effect box (this only gets the separator because of the above rule*/
    div[class^="customizationSection"]:has(div[class^="premiumFeatureBorder"]) { display: none; }

    /* Hide Appearance upsells */
    /* bit hacky, haven't found a way to hide the entire section safely */
    section[class*="basicThemeSelectors_"] + section { display: none; }
    div[class^="tryItOutButtons_"] { display: none; }
    div[role="radiogroup"] > div > div[class^="presets_"] > div[class^="appIconSelectionContainer_"] { display: none; }
    /* Profiles: Per server avatar */
    div[class^="imageUploaderInner"] + div[class^="imageUploaderHint"] { display: none; }
    div[class^="imageUploaderInner"] + div[class^="imageUploaderHint"] + div[class^="imageUploaderIcon"]{ display: none; }

    /* Profiles: Hide profile customization ad in banners */
    div[class^="bannerNitroUpsell"] { display: none;}

    /* Voice & Video: Soundboard section */
    div[class^="container"]:has(div[class^="children"] > div[class^="soundboardRow"]) { display: none; }

    /* Per server avatar */
    /* TODO find a way to hide "Unlock Avatar"*/
    div[class^="upsellContainer"] { display: none; }
    /* Appearance: Hide app icon upsell */
    div[class^="selectionGroup"]:has(div[role="radiogroup"] > div > div[class^="presets"] > [class*="appIconSelectionContainer"]) { display: none; }

    /* Appearance: Theme upsells */
    section[class*="basicThemeSelectors_"] + section { display: none; }

    /* Hide sticker picker */
    button[id="sticker-picker-tab"] { display: none; }

    /* Hide message size upsells */
    div[class*=" upsell-"] { display: none; }
    div[class^="characterCount"] > div[class*=" upsell_"] { display: none; }

    /* Hide Go Live quality upsells */
    button[class*=" selectorButtonPremiumRequired-"] { display: none; }

    /* Hide Nitro profile badge
    div[class^="clickable-"][aria-label^="Subscriber since"] { display: none; }*/
    button[class*=" selectorButtonPremiumRequired"] { display: none; }

    /* Hide ad in profile banners */
    div[class^="premiumIconWrapper"] { display: none; }

    /* Hide profile customization ad in banners */
    div[class^="userPopoutInner-"] > div[class^="wrapper-"] { display: none; }

    /* Hide ad in Activities menu */
    div[class^="tierCtaContainer"] { display: none; }
    div[class^="tierCtaContainer"] + div { display: none; }

    /* Hide ad in emoji list */
    div[class*=" premiumUpsell-"] { display: none; }
    .emojiSection-3Fb9ix > .flex-1xMQg5 > .flex-1xMQg5 > .size14-e6ZScH { display: none; }

    /* ------------- */
    /* Server boosts */
    /* ------------- */

    /* Server dropdown */
    div[class*=" colorPremium-"] { display: none; }
    div[id="guild-header-popout"] > div > div[role="separator"] { display: none; }
    div[id="guild-header-popout"] > div > div[role="separator"] ~ div[role="separator"] { display: block; }
    /* Server Boost button in top left dropdown */
    div[id="guild-header-popout-premium-subscribe"] { display: none; }
    div[role="group"]:has(div[id="guild-header-popout-premium-subscribe"]) + div[role="separator"] { display: none; }

    /* Server settings */
    /* TODO: fully hide Boost customization options */
    /* Server settings: Boost tab */
    div[class^="serverBoostTabItem"] { display: none; }
    div[class^="serverBoostTabItem"] + div[class^="separator"] { display: none; }
    div[aria-controls="stickers-tab"] { display: none; }
    div[aria-controls="vanity_url-tab"] { display: none; }

    /* Display settings in Overview */
    div[id="overview-tab"] > div > div + div > div:last-child{ display: none; }
    /* Server settings: Overview */
    div[class^="divider"]:has(div > div > div > div[class^="upsell"]) { display: none; }

    /* Thread archive times */
    span[class*=" disabledOptionLabel-"] { display: none; }
    div[class^="availabilityIndicator"] { display: none; }
    .checkboxWrapperDisabled-36r8NK { display: none; }
    /* TODO: Hide role icon in Roles tab when we don't have boost lvl 2 */

    /* Boosted server badge */
    div[class^="guildIconContainer"] { display: none; }
    /* Server settings: Stickers tab */
    /* NOTE: risky, but seems ok for now */
    div[class^="children_"] > div[class^="upsellContainer"] { display: none; }
    div[class*="tierHeaderUnlocked"] + div { display: none; }
    div[class*="tier_"]:has(div[class^="tierHeaderLocked"]) { display: none; }
    div[class^="tierInProgress"] { display: none; }

    /* Boost progress bar */
    div[aria-label*="Buy Boosts"] { display: none; }

    /* Server boost profile badge
    div[class^="clickable-"][aria-label^="Server boosting"] { display: none; }*/
    /* Server settings: Custom Invite Link tab */
    button[class^="shinyButton"]:has(div[class*="upsellButton"]) { display: none; }

    /* Boost in chat bar */
    button[aria-label="Boost this server"] { display: none; }
    /* Boost progress bar */
    /* NOTE: risky, but seems ok for now */
    ul[aria-label="Channels"] > div[role="button"][class^="container"] { display: none; }

    /* Boost upsell when making an invite link */
    div[class*="inviteBannerUpsell"] { display: none; }
    /* TODO: would be nice to hide disabled soundboard sounds & emojis
    * However, looks like it needs to be done on the JS level. This is too buggy
    div[class*="premiumDisabled_"] {display:none;}*/

    /* --------------- */
    /* Super reactions */
    /* --------------- */

    /* Initial upsell popup in "add reaction" window */
    div[class*="burstReactionTabTooltip-"] { display: none; }

    /* Super reactions button */
    button[id="super-reaction-picker-tab"] { display: none; }

    /* Super reaction animation */
    div[class*="shakeReaction-"] { animation: none !important; }
    div[class^="reactionInner-"] > div > div[class^="effectsWrapper-"] { display: none; }
    img[class*="hideEmoji-"] { animation: blink-emoji 1s linear infinite; opacity: 255; }
    div[class*="shakeReaction"] { animation: none !important; }
    div[class^="reactionInner"] > div > div[class^="effectsWrapper"] { display: none; }
    img[class*="hideEmoji"] { animation: blink-emoji 1s linear infinite; opacity: 255; }
    @keyframes blink-emoji {
    50% { opacity: 0; }
    }

    /* Add Super Reaction menu item */
    #message-add-reaction-1 { display: none; }
    #message-actions-add-reaction-1 { display: none; }
    div[aria-label="Add Super Reaction"] { display: none; }

    /*[class*="colorPremiumGradient-"], [id^="message-actions-add-reaction-1"],
    [aria-label="Add Super Reaction"] { display:none; }*/

    /* Avatar decorations upsell popup */
    div[class*="contentPremium-"] { display: none; }
    /* Upsell when hovering a Super Reaction */
    div[class^="burstReactionTooltipPrompt"] { display: none; }

    /* ------------------ */
    /* General annoyances */
    /* ------------------ */

    /* Avatar decorations */
    img[class^="avatarDecoration-"] { display: none; }
    svg[class^="avatarDecoration-"] { display: none; }
    svg[class^="bannerSVGWrapper-"] > mask { display: none; }
    svg[class*="avatarDecoration_"] { display: none; }
    img[class^="avatarDecoration_"] { display: none; }

    /* Profile effetcs */
    div[class^="profileEffects-"] { display: none; }
    /* Profile effects */
    div[class^="profileEffects"] { display: none; }

    /* Remove Birthday button in home */
    a[href="/activities"] { display: none; }
    /* Animated "Activities" hover effect in calls */
    /* NOTE: would be nice to disable the white hover effect,
    * but that'd break when you're actually in an activity */
    div[aria-labelledby^="vc-activities"] { display: none; }

    /* Bugfix laggy server scroll */
    div[data-dnd-name] > div[class^="wrapper"] svg { overflow: hidden; }
    @@ -181,14 +157,24 @@ div[aria-label="Help"] { display: none; }
    /* Hide explore servers button */
    div[aria-label="Servers"] + div + div { display: none; }

    /* Hide HUMONGOUS shadow thing in profile popup */
    div[id^="popout_"] { width: fit-content; }
    /* Hide download button */
    div[aria-label="Servers"] + div[class^="tutorialContainer"] + div + div { display: none; } /* separator */
    div[aria-label="Servers"] + div[class^="tutorialContainer"] + div + div + div { display: none; } /* button & click target */

    /* Nitro profile badge */
    /* div[class^="clickable-"][aria-label^="Subscriber since"] { display: none; }*/

    /* Server booster profile badge */
    /* a[aria-label^="Server boosting since"] { display: none; } */

    /* Server booster member list badge */
    /* svg[aria-label^="Server boosting since"] { display: none; } */

    /* ------------------ */
    /* Temporary events */
    /* ------------------ */

    /* "Falloween" in (user) profile */
    [class*="falloweenBackgroundImage-"] { display: none; }
    [class*="falloweenArtContainer-"] { display: none; }
    [class*="artContainer-"] { display: none; }
    [class*="falloweenBackgroundImage"] { display: none; }
    [class*="falloweenArtContainer"] { display: none; }
    [class*="artContainer"] { display: none; }
  15. @TheSunCat TheSunCat revised this gist Oct 26, 2023. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -54,6 +54,12 @@ div[class*="upsellOverlayContainer-"] { display: none; }
    /* Hide icon upsell */
    [class^="selectionGroup-"] , [class^="presets-"] > [class*="appIconSelectionContainer-"] { display: none; }

    /* Hide Appearance upsells */
    /* bit hacky, haven't found a way to hide the entire section safely */
    section[class*="basicThemeSelectors_"] + section { display: none; }
    div[class^="tryItOutButtons_"] { display: none; }
    div[role="radiogroup"] > div > div[class^="presets_"] > div[class^="appIconSelectionContainer_"] { display: none; }

    /* Per server avatar */
    /* TODO find a way to hide "Unlock Avatar"*/
    div[class^="upsellContainer"] { display: none; }
  16. @TheSunCat TheSunCat revised this gist Oct 26, 2023. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -19,6 +19,9 @@ button[aria-label="Open sticker picker"] { display: none; }
    /* Hide Nitro button in Home */
    a[data-list-item-id$="___nitro"] { display: none; }

    /* Hide shop button in Home */
    a[data-list-item-id$="___shop"] { display: none; }

    /* Join more than 100 servers upsell */
    /* TODO also hide the button when it appears sometimes */
    .tutorialContainer-11ICd5 + .listItem-2Ig28I > .listItemWrapper-2MsAsM { display: none; }
  17. @TheSunCat TheSunCat revised this gist Oct 26, 2023. 1 changed file with 14 additions and 2 deletions.
    16 changes: 14 additions & 2 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -48,6 +48,9 @@ div[class^="optionBox"]:nth-of-type(2) { display: none; }
    div[class^="premiumFeatureBorder"] { display: none; }
    div[class*="upsellOverlayContainer-"] { display: none; }

    /* Hide icon upsell */
    [class^="selectionGroup-"] , [class^="presets-"] > [class*="appIconSelectionContainer-"] { display: none; }

    /* Per server avatar */
    /* TODO find a way to hide "Unlock Avatar"*/
    div[class^="upsellContainer"] { display: none; }
    @@ -106,7 +109,7 @@ div[class^="availabilityIndicator"] { display: none; }
    div[class^="guildIconContainer"] { display: none; }

    /* Boost progress bar */
    ul[aria-label="Channels"] > div + div + div[class^="container-"] { display: none; }
    div[aria-label*="Buy Boosts"] { display: none; }

    /* Server boost profile badge
    div[class^="clickable-"][aria-label^="Server boosting"] { display: none; }*/
    @@ -170,4 +173,13 @@ div[aria-label="Help"] { display: none; }
    div[aria-label="Servers"] + div + div { display: none; }

    /* Hide HUMONGOUS shadow thing in profile popup */
    div[id^="popout_"] { width: fit-content; }
    div[id^="popout_"] { width: fit-content; }

    /* ------------------ */
    /* Temporary events */
    /* ------------------ */

    /* "Falloween" in (user) profile */
    [class*="falloweenBackgroundImage-"] { display: none; }
    [class*="falloweenArtContainer-"] { display: none; }
    [class*="artContainer-"] { display: none; }
  18. @TheSunCat TheSunCat revised this gist Oct 21, 2023. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -154,6 +154,9 @@ img[class^="avatarDecoration-"] { display: none; }
    svg[class^="avatarDecoration-"] { display: none; }
    svg[class^="bannerSVGWrapper-"] > mask { display: none; }

    /* Profile effetcs */
    div[class^="profileEffects-"] { display: none; }

    /* Remove Birthday button in home */
    a[href="/activities"] { display: none; }

  19. @TheSunCat TheSunCat revised this gist Sep 30, 2023. 1 changed file with 1 addition and 4 deletions.
    5 changes: 1 addition & 4 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -167,7 +167,4 @@ div[aria-label="Help"] { display: none; }
    div[aria-label="Servers"] + div + div { display: none; }

    /* Hide HUMONGOUS shadow thing in profile popup */
    div[id^="popout_"] { width: fit-content; }

    /* Hide navbar in ArmCord */
    div[class^="withFrame-"] { display: none; }
    div[id^="popout_"] { width: fit-content; }
  20. @TheSunCat TheSunCat revised this gist Sep 30, 2023. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -167,4 +167,7 @@ div[aria-label="Help"] { display: none; }
    div[aria-label="Servers"] + div + div { display: none; }

    /* Hide HUMONGOUS shadow thing in profile popup */
    div[id^="popout_"] { width: fit-content; }
    div[id^="popout_"] { width: fit-content; }

    /* Hide navbar in ArmCord */
    div[class^="withFrame-"] { display: none; }
  21. @TheSunCat TheSunCat revised this gist Sep 30, 2023. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions SunnyDiscord.theme.css
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,11 @@
    /**
    * @name Adblock
    * @author TheSunCat
    * @version 1.0.0
    * @description Hide all Nitro & Boost upsells on Discord!
    * @source https://gist.github.com/TheSunCat/58fedaa19d6154ef3e4b2b676c286906
    */

    /* ------------------ */
    /* Hide Nitro upsells */
    /* ------------------ */
  22. @TheSunCat TheSunCat revised this gist Sep 30, 2023. No changes.
  23. @TheSunCat TheSunCat renamed this gist Sep 30, 2023. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  24. @TheSunCat TheSunCat revised this gist Sep 28, 2023. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions SunnyDiscord.css
    Original file line number Diff line number Diff line change
    @@ -120,6 +120,7 @@ div[class*="burstReactionTabTooltip-"] { display: none; }
    button[id="super-reaction-picker-tab"] { display: none; }

    /* Super reaction animation */
    div[class*="shakeReaction-"] { animation: none !important; }
    div[class^="reactionInner-"] > div > div[class^="effectsWrapper-"] { display: none; }
    img[class*="hideEmoji-"] { animation: blink-emoji 1s linear infinite; opacity: 255; }
    @keyframes blink-emoji {
  25. @TheSunCat TheSunCat revised this gist Sep 6, 2023. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion SunnyDiscord.css
    Original file line number Diff line number Diff line change
    @@ -43,7 +43,6 @@ div[class*="upsellOverlayContainer-"] { display: none; }
    /* Per server avatar */
    /* TODO find a way to hide "Unlock Avatar"*/
    div[class^="upsellContainer"] { display: none; }
    div[class*=" disabled-"] { display: none; }

    /* Hide sticker picker */
    button[id="sticker-picker-tab"] { display: none; }
  26. @TheSunCat TheSunCat revised this gist May 21, 2023. 1 changed file with 12 additions and 5 deletions.
    17 changes: 12 additions & 5 deletions SunnyDiscord.css
    Original file line number Diff line number Diff line change
    @@ -54,8 +54,8 @@ div[class*=" upsell-"] { display: none; }
    /* Hide Go Live quality upsells */
    button[class*=" selectorButtonPremiumRequired-"] { display: none; }

    /* Hide Nitro profile badge */
    div[class^="clickable-"][aria-label^="Subscriber since"] { display: none; }
    /* Hide Nitro profile badge
    div[class^="clickable-"][aria-label^="Subscriber since"] { display: none; }*/

    /* Hide ad in profile banners */
    div[class^="premiumIconWrapper"] { display: none; }
    @@ -67,6 +67,8 @@ div[class^="userPopoutInner-"] > div[class^="wrapper-"] { display: none; }
    div[class^="tierCtaContainer"] { display: none; }
    div[class^="tierCtaContainer"] + div { display: none; }

    /* Hide ad in emoji list */
    div[class*=" premiumUpsell-"] { display: none; }
    .emojiSection-3Fb9ix > .flex-1xMQg5 > .flex-1xMQg5 > .size14-e6ZScH { display: none; }

    /* ------------- */
    @@ -99,8 +101,8 @@ div[class^="guildIconContainer"] { display: none; }
    /* Boost progress bar */
    ul[aria-label="Channels"] > div + div + div[class^="container-"] { display: none; }

    /* Server boost profile badge */
    div[class^="clickable-"][aria-label^="Server boosting"] { display: none; }
    /* Server boost profile badge
    div[class^="clickable-"][aria-label^="Server boosting"] { display: none; }*/

    /* Boost in chat bar */
    button[aria-label="Boost this server"] { display: none; }
    @@ -126,9 +128,11 @@ img[class*="hideEmoji-"] { animation: blink-emoji 1s linear infinite; opacity: 2
    }

    /* Add Super Reaction menu item */
    #message-actions-add-reaction-1 { display: none; }
    #message-add-reaction-1 { display: none; }
    div[aria-label="Add Super Reaction"] { display: none; }

    /*[class*="colorPremiumGradient-"], [id^="message-actions-add-reaction-1"],
    [aria-label="Add Super Reaction"] { display:none; }*/

    /* Avatar decorations upsell popup */
    div[class*="contentPremium-"] { display: none; }
    @@ -142,6 +146,9 @@ img[class^="avatarDecoration-"] { display: none; }
    svg[class^="avatarDecoration-"] { display: none; }
    svg[class^="bannerSVGWrapper-"] > mask { display: none; }

    /* Remove Birthday button in home */
    a[href="/activities"] { display: none; }

    /* Bugfix laggy server scroll */
    div[data-dnd-name] > div[class^="wrapper"] svg { overflow: hidden; }

  27. @TheSunCat TheSunCat revised this gist May 12, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion SunnyDiscord.css
    Original file line number Diff line number Diff line change
    @@ -126,7 +126,7 @@ img[class*="hideEmoji-"] { animation: blink-emoji 1s linear infinite; opacity: 2
    }

    /* Add Super Reaction menu item */
    #message-add-reaction-1 { display: none; }
    #message-actions-add-reaction-1 { display: none; }
    div[aria-label="Add Super Reaction"] { display: none; }


  28. @TheSunCat TheSunCat revised this gist Apr 22, 2023. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions SunnyDiscord.css
    Original file line number Diff line number Diff line change
    @@ -127,6 +127,7 @@ img[class*="hideEmoji-"] { animation: blink-emoji 1s linear infinite; opacity: 2

    /* Add Super Reaction menu item */
    #message-add-reaction-1 { display: none; }
    div[aria-label="Add Super Reaction"] { display: none; }


    /* Avatar decorations upsell popup */
  29. @TheSunCat TheSunCat revised this gist Apr 11, 2023. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions SunnyDiscord.css
    Original file line number Diff line number Diff line change
    @@ -125,6 +125,13 @@ img[class*="hideEmoji-"] { animation: blink-emoji 1s linear infinite; opacity: 2
    50% { opacity: 0; }
    }

    /* Add Super Reaction menu item */
    #message-add-reaction-1 { display: none; }


    /* Avatar decorations upsell popup */
    div[class*="contentPremium-"] { display: none; }

    /* ------------------ */
    /* General annoyances */
    /* ------------------ */
  30. @TheSunCat TheSunCat revised this gist Apr 10, 2023. 1 changed file with 17 additions and 0 deletions.
    17 changes: 17 additions & 0 deletions SunnyDiscord.css
    Original file line number Diff line number Diff line change
    @@ -108,6 +108,23 @@ button[aria-label="Boost this server"] { display: none; }
    /* Boost upsell when making an invite link */
    div[class*="inviteBannerUpsell"] { display: none; }

    /* --------------- */
    /* Super reactions */
    /* --------------- */

    /* Initial upsell popup in "add reaction" window */
    div[class*="burstReactionTabTooltip-"] { display: none; }

    /* Super reactions button */
    button[id="super-reaction-picker-tab"] { display: none; }

    /* Super reaction animation */
    div[class^="reactionInner-"] > div > div[class^="effectsWrapper-"] { display: none; }
    img[class*="hideEmoji-"] { animation: blink-emoji 1s linear infinite; opacity: 255; }
    @keyframes blink-emoji {
    50% { opacity: 0; }
    }

    /* ------------------ */
    /* General annoyances */
    /* ------------------ */