Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do you remove the muted text and icon from the tabs?

  • 6 回覆
  • 1 有這個問題
  • 225 次檢視
  • 最近回覆由 cor-el

更多選項

I like to mute all of my tabs so they don't play annoying sounds. However a very annoying mute icon appears when I hover over it and the "muted" text is shown under the name. I tried adding to my userChrome.css:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); .tab-icon-overlay[muted], .tab-icon-sound[muted] {

 display: none !important;

}

This only removes the muted icon, and when I hover over a tab its favicon disappears. I also tried changing browser.tabs.showAudioPlayingIcon as suggested in [answer] but it isn't an option anymore.

How do I remove it completely without changing the context menu item?

I like to mute all of my tabs so they don't play annoying sounds. However a very annoying mute icon appears when I hover over it and the "muted" text is shown under the name. I tried adding to my userChrome.css: @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); .tab-icon-overlay[muted], .tab-icon-sound[muted] { display: none !important; } This only removes the muted icon, and when I hover over a tab its favicon disappears. I also tried changing browser.tabs.showAudioPlayingIcon as suggested in [[https://support.mozilla.org/en-US/questions/1092509#answer-802519|this answer]] but it isn't an option anymore. How do I remove it completely without changing the context menu item?

被選擇的解決方法

所有回覆 (6)

更多選項

See these CSS files for the .tab-icon-overlay and .tab-icon-sound CSS rules.

See also:

更多選項

cor-el said

See these CSS files for the .tab-icon-overlay and .tab-icon-sound CSS rules. See also:

Thanks, I've updated my code:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); .tab-icon-overlay[muted], .tab-icon-sound[muted], .tab-secondary-label[muted], .tab-icon-sound-muted-label {

 display: none !important;

}

The only problem now is that the favicon disappears when the tab is hovered.

更多選項

I've updated it again:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); .tab-icon-overlay[muted], .tab-icon-sound[muted], .tab-secondary-label[muted], .tab-icon-sound-muted-label {

 display: none !important;

} .tab-content .tab-icon-image {

 opacity: 1.0 !important;

}

It works almost perfectly, but the loading indicator (in place of the favicon when the site is loading) disappears when hovered. Do you know what the class of that is?

更多選項

選擇的解決方法

更多選項

cor-el said

You can try: .tab-throbber[busy]::before {}

Thank you, my final code is this:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); .tab-icon-overlay[muted], .tab-icon-sound[muted], .tab-secondary-label[muted], .tab-icon-sound-muted-label {

 display: none !important;

} .tab-content .tab-icon-image, .tab-throbber[busy] {

 opacity: 1.0 !important;

}

更多選項

Note that you can hide the secondary line that shows the Playing and Muted state by modifying the browser.tabs.secondaryTextUnsupportedLocales pref and add your language to the list. For "en-US" this would be "en" (i.e. the part before the '-'):

  • ar,bn,bo,ckb,fa,gu,he,hi,ja,km,kn,ko,lo,mr,my,ne,pa,si,ta,te,th,ur,zh,en

Close and restart Firefox to make the change effective and you should no longer see the playing text in "Density: Normal" mode.

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".

由 cor-el 於 修改