Attempts to remove Discord's Nitro-related annoyances in the app.
AntiNitro by kurulen
Details
Authorkurulen
LicenseUnlicense
Categorydiscord
Created
Updated
Size10 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Using this userstyle in Stylus will cause issues with other pages unless you modify it!
Please uncomment the @-moz-document
line (at the top) and the }
line (at the bottom) to make this userstyle only apply to "discord.com" pages, fixing all the others.
Nitro and some profile customizations will not work.
To report issues with the userstyle, make an issue on the GitHub repo. (in Homepage)
Version 20240827.17.48:
- Removes an "Unlock Nitro" ad from the profile preview.
Version 20240830.07.41:
- Removes the quest icon from profile statuses. (Fixes issue #1)
Version 20240901.06.36:
- Fixes an issue where GIF profile banners wouldn't be hidden.
Version 20240907.11.34:
- Hides the Server Boost tab when searching.
- This userstyle's CSS file isn't truncated on userstyles.world anymore.
Version 20240913.18.44:
- Hides the Nitro ad popup when you upload a file larger than 10 MB.
Version 20241028.15.04:
- Removes Nitro upsell when changing avatar in User Settings.
- Removes "Nitro Preview" pill in User Settings.
Source code
/* ==UserStyle==
@name AntiNitro
@version 20241028.15.04
@namespace userstyles.world/user/kurulen
@description Attempts to remove Discord's Nitro-related annoyances in the app.
@author kurulen
@license Unlicense
==/UserStyle== */
/* @-moz-document domain("discord.com") { */
:root {
--nbanner-height: 64px;
--mbanner-height: 96px;
}
[class*='profileBadges'],
[class*='badgelist'],
[class*="avatarDecoration"],
[class*="premiumIcon"],
[class*="userProfile"] > [class*="body"] > [class*="container"] > [class*="tags"] > [role*="group"],
[class*="userProfile"] > [class*="scrollerBase"] > [class*="body"] > [class*="container"] > [class*="tags"] > [role*="group"],
[class*="bannerPremium"],
[class*="headerTop"] > [class*="badgeList"],
[class*="fullscreenOnMobile"][class*="rootWithShadow"]:has(> [class*="artContainer"]) {
visibility: hidden !important;
}
[class*="premiumTab"],
[class*="container"] [aria-posinset*="2"],
[class*="linkButton"] > [data-list-item-id*="___shop"],
[class*="giftButtonContainer"],
[class*="progressBarContainer"],
[class*="progressFraction"] > [class*="directionRight"],
[id*="guild-header-popout-premium-subscribe"],
[class*="tryItOutSection"],
[class*="newBackgroundTooltipContainer"],
[id*="profile-customization-tab"] > [style*="background-image"],
[class*="upsellOverlayContainer"],
[class*="remiumHoverState"],
[class*="popoutContainer"] [class*="ctaButton"],
[class*="profileEffects"],
[class*="reactionEmojiDetails"],
[class*="otherEmojisContainer"],
[class*="guildSection"],
[aria-label="ADD_PACK"],
[class*="nameAndDecorators"] [tabindex*="-1"],
[class*="burstGlow"],
[class*="notAppAsidePanel"] [class*="wrapper"] [class*="contentWrapper"] [class*="entrypoint"],
[aria-label="UNAVAILABLE"],
[class*="burstReactionTooltipPrompt"] div,
[class*="sansAttachButton"] [class*="buttons"] > button,
[class*="shopForAllBackgroundImage"],
[class*="profileColors"] [class*="userPanelInnerThemed"] [class*="containerWrapper"],
[class*="bannerNitroUpsell"],
[class*="hasCollectiblesUpsell"] [class*="userPopoutInner"] [class*="containerWrapper"],
[class*="userProfileModalInner"] [class*="topSection"] [class*="bannerSVGWrapper"] > mask,
[class*="userProfileModalInner"] [class*="topSection"] [class*="bannerSVGWrapper"] > foreignObject,
[class*="customizationSection"]:nth-of-type(4),
[class*="customizationSection"]:nth-of-type(5),
[class*="customizationSection"]:nth-of-type(7) + [class*="container"] > [class*="labelRow"],
[class*="premiumTab"] + div,
[class*="containerWithMargin"] > [class*="emptyState"],
[id*="library-inventory-tab"] > div:nth-child(1) > div:nth-child(2) > h3,
[class*="upsellFooter"],
[id*=guild_premium-tab] > [class*="divider"],
[id*=guild_premium-tab] > [class*="wrapper"],
[id*=guild_premium-tab] > [class*="tier0Container"],
[class*="serverBoostTabItem"] > div > svg,
[class*="shineContainer"],
[class*="boostingIconWrapper"],
[class*="giftNitro"],
[class*="upsellImage"],
[class*="upsellImage"] + [class*="bodyText"],
[class*="upsellImage"] + [class*="bodyText"] + [class*="perksList"],
[role*="dialog"] > [class*="fullscreenOnMobile"] > [class*="justifyEnd"] > [class*="footerRight"] > [class*="colorGreen"],
[class*="primaryEmoji"] + [class*="truncatingText"] > [class*="text-sm/normal"],
[class*="tags"] > [class*="container"],
[class*="badgelistGroup"],
[class*="userProfileInner"] > div > [class*="overlay2"],
[class*="focusLock"][role*="dialog"] > [class*="rootWithShadow"] > [class*="content"] > h2,
[class*="focusLock"][role*="dialog"] > [class*="rootWithShadow"] > [class*="content"] > div[class*="defaultColor"] > [class*="body"] > div,
[class*="primaryActions"] > [class*="shinyButton"][class*="colorGreen"],
[class*="uploadDropModal"] > [class*="inner"] > [class*="icons"] > [class*="wrapTwo"],
[class*="uploadDropModal"] > [class*="inner"] > [class*="icons"] > [class*="wrapThree"],
button[class*="guildBoostCtaSecondary"],
[style*="https://cdn.discordapp.com/banners/"],
[class*="userProfileInner"] > header > svg > foreignObject[mask*="url"] > [style*="background-image:"],
[class*="layerContainer"] > [class*="layer"] > [role*="dialog"] > [class*="root"]:has([class*="freeTrialPillWithSparkles"]),
[class*="subText"] > [class*="activity"] > [class*="questsIcon"],
[class*="avatarUploaderNormal"] > [class*="imageUploader"] > [class*="imageUploaderIconWrapper"] > [class*="avatarUploaderInner"] > div,
[class*="avatarUploaderNormal"] > [class*="imageUploader"] > [class*="imageUploaderIconWrapper"] > [class*="imageUploaderIcon"],
[class*="optionBox"]:not(:has([class*="file-input"])),
[class*="questsContainer"] + [class*="containerWithMargin"] + [class*="containerWithMargin"],
[class*="effectsWrapper"],
[class*="reaction"][style*="background: rgba"],
[class*="burstToggle"],
[class*="premiumPromo"],
[class*="heroImage"] + [class*="text"],
[class*="heroImage"] + [class*="text"] + [class*="perks"],
[class*="questsContainer"],
[id*="popout"]:has([class*="wrapper"] [style*="border-radius: 0px 0px 4px 4px"]),
[aria-controls*="nitro-server-boost-tab"],
[class*="sansAttachButton"] > [class*="buttons"] > [class*="container"],
[class*="upsellContainer"],
[class*="segmentedControlNonNitro"] {
display: none !important;
}
[class*="topSection"] [class*="header"],
[class*="pointerEvents"],
[class*="header"] [class*="guildIcon"],
[class*="premiumIcon"],
[class*="userPopout"] > [class*="header"] > [class*="avatar"],
[class*="header"] > [class*="avatar"],
[class*="bannerSVGWrapper"] + [role*="button"],
[class*="customizationSection"] > [class*="biteSizeOuter"] > [class*="biteSizeInner"] > [class*="header"] > [class*="mask"],
[class*="effectsWrapper"],
[class*="reaction"][style*="background: rgba"] {
pointer-events: none !important;
}
[class*="userProfileModalInner"] [class*="topSection"] [class*="bannerSVGWrapper"] {
height: var(--mbanner-height) !important;
min-height: var(--mbanner-height) !important;
max-height: var(--mbanner-height) !important;
}
[class*="avatarPositionPremiumBanner"],
[class*="avatarWrapperNormal"],
[class*="userProfileInner"] > [class*="scrollerBase"] > div > [class*="avatarWrapper"] {
top: 16px !important;
}
[id*="my-account-tab"] > div > div > [class*="children"] > [class*="accountProfileCard"] > [class*="userInfo"] > [class*="avatar"] {
top: 82px !important;
}
[class*="headerTop"] > [class*="relationshipButtons"] {
pointer-events: auto !important;
}
[class^=listItem_]:has([data-list-item-id=guildsnav___app-download-button]),
[class^=listItem_]:has(+ [class^=listItem_] [data-list-item-id=guildsnav___app-download-button]) {
display: none;
}
[aria-label*="Merch"],
[aria-label*="Merch"] + div,
[aria-label*="Produits dérivés"],
[aria-label*="Produits dérivés"] + div,
[aria-label*="Suvenirčići"],
[aria-label*="Suvenirčići"] + div,
[aria-label*="Articoli"],
[aria-label*="Articoli"] + div,
[aria-label*="Atributika"],
[aria-label*="Atributika"] + div,
[aria-label*="Termékek"],
[aria-label*="Termékek"] + div,
[aria-label*="Varer"],
[aria-label*="Varer"] + div,
[aria-label*="Gadżety"],
[aria-label*="Gadżety"] + div,
[aria-label*="Mercadoria"],
[aria-label*="Mercadoria"] + div,
[aria-label*="Produse"],
[aria-label*="Produse"] + div,
[aria-label*="Myyntitavarat"],
[aria-label*="Myyntitavarat"] + div,
[aria-label*="Ürünler"],
[aria-label*="Ürünler"] + div,
[aria-label*="Zboží"],
[aria-label*="Zboží"] + div,
[aria-label*="Αντικείμενα"],
[aria-label*="Αντικείμενα"] + div,
[aria-label*="Стоки"],
[aria-label*="Стоки"] + div,
[aria-label*="Атрибутика"],
[aria-label*="Атрибутика"] + div,
[aria-label*="मर्चन्डाइस"],
[aria-label*="मर्चन्डाइस"] + div,
[aria-label*="สินค้า"],
[aria-label*="สินค้า"] + div,
[aria-label*="周边商品"],
[aria-label*="周边商品"] + div,
[aria-label*="グッズ"],
[aria-label*="グッズ"] + div,
[aria-label*="週邊商品"],
[aria-label*="週邊商品"] + div,
[aria-label*="굿즈"],
[aria-label*="굿즈"] + div,
[aria-label*="Gave inventar"],
[aria-label*="Geschenkinventar"],
[aria-label*="Gift Inventory"],
[aria-label*="Inventario de regalos"],
[aria-label*="Inventaire des cadeaux"],
[aria-label*="Popis darova"],
[aria-label*="Inventario regali"],
[aria-label*="Dovanų atsargos"],
[aria-label*="Ajándék leltár"],
[aria-label*="Cadeau-inventaris"],
[aria-label*="Gaver"],
[aria-label*="Ekwipunek prezentów"],
[aria-label*="Inventário de presentes"],
[aria-label*="Inventar cadouri"],
[aria-label*="Lahjaluettelo"],
[aria-label*="Gåvolager"],
[aria-label*="Kho Quà Tặng"],
[aria-label*="Hediye Envanteri"],
[aria-label*="Inventář dárků"],
[aria-label*="Απόθεμα δώρων"],
[aria-label*="Инвентар с подаръци"],
[aria-label*="Склад подарков"],
[aria-label*="Перелік подарунків"],
[aria-label*="गिफ्ट सूची"],
[aria-label*="ห้องเก็บของขวัญ"],
[aria-label*="礼物库"],
[aria-label*="購読"],
[aria-label*="ギフトインベントリ"],
[aria-label*="禮物庫存"],
[aria-label*="선물 인벤토리"],
[aria-label*="Privacy & Safety"] + [role*="tab"],
[aria-label*="Privatliv og sikkerhed"] + [role*="tab"],
[aria-label*="Verknüpfungen"] + [role*="tab"],
[aria-label*="Confidentialité & Sécurité"] + [role*="tab"],
[aria-label*="Privatnost i sigurnost"] + [role*="tab"],
[aria-label*="Verbindingen"] + [role*="tab"] {
display: none !important;
}
[class*="vc-settings-donate"] > img {
display: none !important;
}
[class*="vc-settings-donate"] > div > [class*="defaultMarginh5"] {
display: none !important;
}
/* } */