搜尋 Mozilla 技術支援網站

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

了解更多

How to hide tab icons/favicons for specific websites?

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

more options

Hello,

I am wondering how to remove the web icons/favicon from tabs (and windows if possible) for specific websites, but not all websites. I know you can hide all favicons using 'userChrome.css' and the code:

.tabbrowser-tab .tab-icon-image { display: none !important; }

Is there any way to configure this to block just a site like Wikipedia, without blocking everything else?

Thanks.

Hello, I am wondering how to remove the web icons/favicon from tabs (and windows if possible) for specific websites, but not all websites. I know you can hide all favicons using 'userChrome.css' and the code: .tabbrowser-tab .tab-icon-image { display: none !important; } Is there any way to configure this to block just a site like Wikipedia, without blocking everything else? Thanks.

所有回覆 (1)

more options

You can hide the favicon using a label selector, like for Wikipedia where the label ends with the site name (the 'i' is for case insensitive):

.tabbrowser-tab[label$="wikipedia" i] .tab-icon-image {display:none!important;}