Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Hide the Firefox Tab Sound Icon With CSS

Use the tab menu to mute audio, or hide the tab sound button with a reversible userChrome.css rule on compatible Firefox versions.

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

  1. In desktop Firefox, open about:config and accept the warning. Find toolkit.legacyUserProfileCustomizations.stylesheets and set it to true if it is off.
  2. 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.
  3. Open or create a folder named chrome inside that profile. Open or create the plain-text file userChrome.css there. If the file already exists, keep its other rules.
  4. Add the rule below and restart Firefox.

How to change the position of the sound icon in a tab on Firefox Picture 1

.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.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.