Skip to content

Instantly share code, notes, and snippets.

@superbiche
Created August 24, 2016 14:08
Show Gist options
  • Save superbiche/c0fa7eb3c912ac2430c78fad4e798718 to your computer and use it in GitHub Desktop.
Save superbiche/c0fa7eb3c912ac2430c78fad4e798718 to your computer and use it in GitHub Desktop.
Disable sound indicator in Firefox tabs Useful if video is muted but the indicator is still visible (PLEASE keep this indicator if you play sound)
// Only pinned tabs
.tabbrowser-tab[pinned] :-moz-any(.tab-icon-overlay[soundplaying]) {
display: none;
}
// Any tab
.tabbrowser-tab :-moz-any(.tab-icon-sound,.tab-icon-overlay[muted]) {
display: none;
}
@Artfunkel
Copy link

Artfunkel commented May 6, 2017

This page is high up in Google search results so I'm going to hijack it to post a complete userstyle to do this job:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.tabbrowser-tab[pinned] :-moz-any(.tab-icon-overlay[soundplaying]) {
    display: none !important;
}

You can paste the above into a blank style created with the extension "Stylish".

Edit: now that Mozilla have downgraded extension support, you'll need to paste it into your UserChrome.css file.

@aesophor
Copy link

aesophor commented Dec 3, 2020

@Artfunkel Thanks so much. Finally a solution that really works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment