为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 6 个回答
  • 1 人有此问题
  • 121 次查看
  • 最后回复者为 cor-el

more options

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)

more options

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

See also:

more options

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.

more options

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?

more options

选择的解决方案

more options

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;

}

more options

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于修改