Table of Contents
If you keep hitting the Firefox speaker icon by accident, you can hide the separate tab audio button on versions that use the .tab-audio-button selector. This customization hides the button. It does not move it back to the old position.
Mute tabs without using the icon
Right-click the tab and choose Mute Tab or Unmute Tab when offered. See Mozilla’s tab audio guide for built-in controls.
Hide the speaker button using userChrome.css
- In desktop Firefox, open
about:configand accept the warning. Findtoolkit.legacyUserProfileCustomizations.stylesheetsand set it totrueif it is off. - Open
about:support. Find the profile folder row and use its button to open the current profile folder. If you use several Firefox profiles, repeat the change only in the profiles you want to customize. - Open or create a folder named
chromeinside that profile. Open or create the plain-text fileuserChrome.cssthere. If the file already exists, keep its other rules. - Add the rule below and restart Firefox.
.tab-audio-button {
display: none !important;
}Check the result or undo the change
Play audio in a tab and confirm the button is hidden and that the tab menu still offers the sound controls you expect. If nothing changes, make sure the file does not end in .txt and that it is in the active profile. A Firefox update can change internal selectors. To undo this change, remove only the added rule and restart.
Reader Comments 0
Sign in with email or Google to join the discussion.