Hides various Nitro and Shop promotions. Currently doesn't hide quests.
Discord Promotion Hider by o_o
Details
Authoro_o
LicenseMIT
Categorydiscord
Created
Updated
Size3.2 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Discord Promotion Hider
@namespace dabric.xyz/posts/discord-upsell-hider
@version 1.0.0
@description Hides various Nitro and Shop promotions
@author dabric
==/UserStyle== */
@-moz-document domain("discord.com") {
a[href="/shop"] > :not([class^=avatarWithText]) {
visibility: hidden
}
[class*=marketingBadgeTooltip] {
display: none;
}
#emoji-picker-grid {
[class^="nitroTopDividerContainer"],
[class*="categorySectionNitroLocked"]
{
visibility: hidden;
}
[class^="upsellContainer"] {
display: none;
}
[role="gridcell"] {
button:has(> div[class^="emojiLockIcon"]) {
visibility: hidden;
}
}
}
#emoji-picker-tab-panel {
[class^=burstToggle] {
display: none;
}
}
/*#emoji-picker-tab-panel {
& > [class*="categoryList"] [role="list"] {
[role="listitem"]:has([class^="categoryItemLockIconContainer"]) {
visibility: hidden;
}
}
}*/
#profile-customization-tab {
[class*=floatingNitroUpsell] {
display: none;
}
[class^=premiumFeatureBorder] {
display: none;
}
[class^=upsellOverlayContainer] {
display: none;
}
/* tries to target the shop banner */
[role=tablist] + div[style*="background-image"] {
display: none;
}
}
button[class*="shinyButton"] {
[class*="buttonShine"] {
animation: none;
}
}
#appearance-tab {
[class^=premiumFeatureBorder] {
display: none;
}
/* app icon setter */
[class^=selectionGroup]:has(> * > [role=radiogroup] [class^=tryItOutButtons]) {
display: none;
}
}
[role="tablist"] {
[class^=premiumTab] {
svg {
display: none;
}
}
}
[role=dialog][aria-label="Uh oh, this file exceeds the size limit."] {
> [class^=root] {
min-height: unset;
flex-direction: row;
align-items: center;
padding: var(--modal-vertical-padding) var(--modal-horizontal-padding);
> [class^=artContainer] {
display: none;
}
> [class*=footer] {
display: none;
}
> [class*=content] {
margin: 0;
padding: 0;
&::after {
content: "This file exceeds the size limit.";
font-family: var(--font-display);
font-size: 24px;
line-height: 1.25;
font-weight: 700;
color: var(--text-normal);
}
> div {
display: none;
}
}
> button {
position: static;
margin: 0;
box-sizing: border-box;
}
}
}
form {
[aria-label="Send a gift"] {
display: none;
}
/* "Send longer messages with Discord Nitro!" */
[class*=upsell] {
display: none;
}
}
}