Last active
September 15, 2025 21:38
-
-
Save ZachSaucier/6f8a795057aeae8662b127bdec561273 to your computer and use it in GitHub Desktop.
Hide all Firefox tab media controls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hide the mute/unmute button */ | |
.tab-icon-overlay:not([sharing], [crashed]):is([soundplaying], [muted]) { | |
display: none !important; | |
} | |
.tab-icon-sound { | |
display: none !important; | |
} | |
.tab-audio-button { display: none !important; } | |
/* Keep site icon visible on hover */ | |
.tabbrowser-tab:hover .tab-icon-stack:not([sharing], [crashed]):is([soundplaying], [muted]) > :not(.tab-icon-overlay), | |
/* for site icon with Compact density */ | |
:root[uidensity="compact"] .tab-icon-stack:not([sharing], [crashed]):is([soundplaying], [muted]) > :not(.tab-icon-overlay) { | |
opacity: 1 !important; /* overrides full transparency with full opacity */ | |
} | |
/* Get rid of the green dot when media changes */ | |
#unified-extensions-button[attention] > .toolbarbutton-icon, | |
.unified-extensions-item[attention] > .unified-extensions-item-action-button.toolbarbutton-1 > .toolbarbutton-badge-stack { | |
background-image: none !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment