This commit is contained in:
tezlm 2023-10-22 10:37:04 -07:00
parent 2184a19cef
commit a397c1fad8
Signed by: tezlm
GPG key ID: 649733FCD94AFBBA
4 changed files with 182 additions and 128 deletions

View file

@ -1,30 +1,57 @@
/* ==UserStyle==
@name forbid nitro
@name canary.discord.com - 11/16/2022, 8:15:47 PM
@namespace github.com/openstyles/stylus
@version 1.0.0
@description removes nitro from other users (profile themes, avatar decoration)
@author tezlm
@description A new userstyle
@author Me
==/UserStyle== */
[class*="userProfileOuterThemed"] {
--profile-gradient-primary-color: var(--background-secondary-alt) !important;
--profile-gradient-secondary-color: var(--background-secondary-alt) !important;
--profile-gradient-button-color: var(--button-secondary-background) !important;
--profile-gradient-overlay-color: transparent !important;
--profile-body-background-color: var(--background-floating) !important;
--profile-body-background-hover: var(--background-modifier-hover) !important;
--profile-body-divider-color: var(--background-modifier-accent) !important;
--profile-avatar-border-color: var(--background-secondary-alt) !important;
--profile-message-input-border-color: var(--background-modifier-accent) !important;
--profile-role-pill-background-color: var(--background-secondary-alt) !important;
--profile-role-pill-border-color: var(--interactive-normal) !important;
padding: 0 !important;
}
[class*="avatarPositionPremiumNoBanner"] {
left: 18px;
top: 42px;
}
[class^="avatarDecoration"] {
display: none;
@-moz-document domain("canary.discord.com") {
[class*="userProfileOuterThemed"] {
--profile-gradient-primary-color: var(--background-secondary-alt) !important;
--profile-gradient-secondary-color: var(--background-secondary-alt) !important;
--profile-gradient-button-color: var(--button-secondary-background) !important;
--profile-gradient-overlay-color: transparent !important;
--profile-body-background-color: var(--background-floating) !important;
--profile-body-background-hover: var(--background-modifier-hover) !important;
--profile-body-divider-color: var(--background-modifier-accent) !important;
--profile-avatar-border-color: var(--background-secondary-alt) !important;
--profile-message-input-border-color: var(--background-modifier-accent) !important;
--profile-role-pill-background-color: var(--background-secondary-alt) !important;
--profile-role-pill-border-color: var(--interactive-normal) !important;
padding: 0 !important;
}
[class^=rolePillBorder] {
border: none;
}
[class*="avatarPositionPremiumNoBanner"] {
left: 18px;
top: 42px;
}
[class^="avatarDecoration"] {
display: none;
}
[class^="burstGlow"], [class^="effectsWrapper"] {
display: none;
}
[class*="shakeReaction"] {
animation: none !important;
}
[class^=reaction-] {
background: var(--background-secondary) !important;
}
[class^=reactionCount] {
color: var(--interactive-normal) !important;
}
[class^=hideEmoji] {
opacity: 1 !important;
}
}

View file

@ -1,27 +1,30 @@
/* ==UserStyle==
@name no channel emoji
@name canary.discord.com - 2023-05-20, 10:31:43 a.m.
@namespace github.com/openstyles/stylus
@version 1.0.0
@description removes the new channel emoji
@author tezlm
@description A new userstyle
@author Me
==/UserStyle== */
[class*=channelEmoji] {
display: none;
}
#channels [class*=emojiColorFill] {
background-color: var(--bg-overlay-selected, var(--background-modifier-selected)) !important;
}
#channels [class*=emojiColorFill][style*="opacity: 1"] ~ [class*=mainContentWithChannelEmoji] [class*=name] {
color: var(--text-normal) !important;
}
#channels [class*=ripple] {
display: none;
}
#channels [class*=mainContentWithChannelEmoji] {
padding-top: 6px !important;
padding-bottom: 6px !important;
@-moz-document domain("discord.com") {
[class*=channelEmoji] {
display: none;
}
#channels [class*=emojiColorFill] {
background-color: var(--bg-overlay-selected, var(--background-modifier-selected)) !important;
}
#channels [class*=emojiColorFill][style*="opacity: 1"] ~ [class*=mainContentWithChannelEmoji] [class*=name] {
color: var(--text-normal) !important;
}
#channels [class*=ripple] {
display: none;
}
#channels [class*=mainContentWithChannelEmoji] {
padding-top: 6px !important;
padding-bottom: 6px !important;
}
}

View file

@ -1,32 +1,49 @@
/* ==UserStyle==
@name no junk
@name discord.com - 2023-05-20, 11:00:53 a.m.
@namespace github.com/openstyles/stylus
@version 1.0.0
@description removes misc junk, like app directory/connections/welcome sticker
@author tezlm
@description A new userstyle
@author Me
==/UserStyle== */
[href="/library"] {
display: none;
}
#user-settings-cog-Connections {
display: none;
}
#message-apps, #message-tts, #message-actions-apps, #message-actions-tts, #user-context-apps, #user-context-invite-to-server, #user-context-call {
display: none;
}
#guild-header-popout-application-directory,
#guild-context-create-event,
#guild-context-change-nickname {
display: none;
}
[aria-label="Connections"] {
display: none;
}
[class*="welcomeCTA"] {
display: none;
@-moz-document domain("discord.com") {
[href="/library"] {
display: none;
}
#user-settings-cog-Connections {
display: none;
}
[aria-label="Add Super Reaction"] {
display: none;
}
#message-add-reaction-1 {
display: none;
}
#message-apps, #message-tts, #message-actions-apps, #message-actions-tts, #user-context-apps, #user-context-invite-to-server, #user-context-call {
display: none;
}
#guild-header-popout-application-directory,
#guild-header-popout-active-threads,
#guild-header-popout-change-nickname,
#guild-context-create-event,
#guild-context-change-nickname {
display: none;
}
[aria-label="Connections"] {
display: none;
}
[class*="welcomeCTA"] {
display: none;
}
[aria-label="Servers"] ~ [class^=listItem] ~ div {
display: none;
}
}

View file

@ -1,59 +1,66 @@
/* ==UserStyle==
@name no nitro
@name discord.com - 2023-05-20, 10:58:56 a.m.
@namespace github.com/openstyles/stylus
@version 1.0.0
@description removes as much nitro/server boost advertising as possible
@author tezlm
@description A new userstyle
@author Me
==/UserStyle== */
[href="/store"], [aria-label="Send a gift"], [aria-label="Boost this server"], [aria-label="App Directory"], [aria-label="Open sticker picker"] {
display: none;
}
#user-settings-cog-Discord_Nitro, #user-settings-cog-Nitro_Server_Boost, #user-settings-cog-Subscriptions, #user-settings-cog-Library_Inventory, #user-settings-cog-Billing {
display: none;
}
#guild-header-popout [role=group]:first-child,
#guild-header-popout [role=group]:first-child + [class^=separator] {
display: none;
}
[aria-label="Buy Boosts to help unlock Level 1 perks!"],
[aria-label="Buy Boosts to help unlock Level 2 perks!"],
[aria-label="Buy Boosts to help unlock Level 3 perks!"],
[aria-label="This server has unlocked all Boosting perks!"] {
display: none;
}
[class^=guildIconContainer] > [aria-label="Level 1"],
[class^=guildIconContainer] > [aria-label="Level 2"],
[class^=guildIconContainer] > [aria-label="Level 3"] {
display: none;
}
[class^=tryItOutSection] {
display: none;
}
[class^=upsellContainer] {
display: none;
}
[class^=customizationSection] {
border-bottom: none;
}
[class^=premiumFeatureBorder] {
display: none;
}
[aria-label="User Settings"] :nth-child(2 of [class^=header]),
[aria-label="User Settings"] :nth-child(2 of [class^=separator]),
[aria-label="User Settings"] :nth-child(-n + 5 of [class^=premiumTab] ~ *),
[aria-label="User Settings"] [class^=premiumTab] {
display: none;
}
[aria-label="Add Super Reaction"] {
display: none;
@-moz-document domain("discord.com") {
[href="/store"], [aria-label="Send a gift"], [aria-label="Boost this server"], [aria-label="App Directory"], [aria-label="Open sticker picker"] {
display: none;
}
#user-settings-cog-Discord_Nitro, #user-settings-cog-Nitro_Server_Boost, #user-settings-cog-Subscriptions, #user-settings-cog-Library_Inventory, #user-settings-cog-Billing {
display: none;
}
#guild-header-popout [role=group]:first-child,
#guild-header-popout [role=group]:first-child + [class^=separator] {
display: none;
}
[aria-label="Buy Boosts to help unlock Level 1 perks!"],
[aria-label="Buy Boosts to help unlock Level 2 perks!"],
[aria-label="Buy Boosts to help unlock Level 3 perks!"],
[aria-label="This server has unlocked all Boosting perks!"] {
display: none;
}
[class^=guildIconContainer] > [aria-label="Level 1"],
[class^=guildIconContainer] > [aria-label="Level 2"],
[class^=guildIconContainer] > [aria-label="Level 3"] {
display: none;
}
[class^=tryItOutSection] {
display: none;
}
[class^=upsellContainer] {
display: none;
}
[class^=customizationSection] {
border-bottom: none;
}
[class^=premiumFeatureBorder] {
display: none;
}
[aria-label="User Settings"] :nth-child(2 of [class^=header]),
[aria-label="User Settings"] :nth-child(2 of [class^=separator]),
[aria-label="User Settings"] :nth-child(-n + 5 of [class^=premiumTab] ~ *),
[aria-label="User Settings"] [class^=premiumTab] {
display: none;
}
[class*="premiumFeatureBannerBackground"] {
display: none;
}
.container-5qN7ct {
display: none;
}
}