搜尋 Mozilla 技術支援網站

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

Learn More

Why is the "missing favicon" icon gone on new tabs?

  • 3 回覆
  • 2 有這個問題
  • 9 次檢視
  • 最近回覆由 cor-el

more options

When I open a new tab, or I am on a page with no favicon, the little dotted line square that used to be present is now gone. Is this intentional? And if it is, can I bring it back, preferably with the classic theme restorer?

When I open a new tab, or I am on a page with no favicon, the little dotted line square that used to be present is now gone. Is this intentional? And if it is, can I bring it back, preferably with the classic theme restorer?

被選擇的解決方法

ro_em wrote:

can I bring it back, preferably with the classic theme restorer? 

I don't see that option in Classic Theme Restorer 1.1.8. You can request the feature.


  1. Install Stylish and restart Firefox when prompted.
  2. Click the ≡ Menu Button and choose Add-ons.
  3. In the Add-ons Manager, click User Styles on the left.
  4. Click the Write New Style button at the top. Paste the following in the text box, give the style a name, then click the Save button.

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

.tabbrowser-tab .tab-throbber:not([busy="true"]) + .tab-icon-image:not([src]) {
  display: -moz-box !important;
  list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAtUlEQVR42t2TQQrCMBBFe4HqungBV8USjC01iKt2UVBcuPAwHkAKRSwFN141zi/DULpKiCsXL8kw/3+SkETW2iDGQZeHdabL+2ZbfKiOMYPL9bYDXEsPWngkQOX7Zz+8T7Q2EGFmVoyZ9qCFRwI4PYHAkQQeCZB0P8xsB34B8AQF/PYIdXOufAPg+aM7CN9Bbo4vevPa1QwtPBLwaLvxbbt+JmjhkQBiQaSE4loxS0bNeil7oi+lcro7fpDjUgAAAABJRU5ErkJggg==") !important;
}

If you don't want to install an add-on, you can use the userChrome.css file instead, but I don't recommend it.

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

選擇的解決方法

ro_em wrote:

can I bring it back, preferably with the classic theme restorer? 

I don't see that option in Classic Theme Restorer 1.1.8. You can request the feature.


  1. Install Stylish and restart Firefox when prompted.
  2. Click the ≡ Menu Button and choose Add-ons.
  3. In the Add-ons Manager, click User Styles on the left.
  4. Click the Write New Style button at the top. Paste the following in the text box, give the style a name, then click the Save button.

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

.tabbrowser-tab .tab-throbber:not([busy="true"]) + .tab-icon-image:not([src]) {
  display: -moz-box !important;
  list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAtUlEQVR42t2TQQrCMBBFe4HqungBV8USjC01iKt2UVBcuPAwHkAKRSwFN141zi/DULpKiCsXL8kw/3+SkETW2iDGQZeHdabL+2ZbfKiOMYPL9bYDXEsPWngkQOX7Zz+8T7Q2EGFmVoyZ9qCFRwI4PYHAkQQeCZB0P8xsB34B8AQF/PYIdXOufAPg+aM7CN9Bbo4vevPa1QwtPBLwaLvxbbt+JmjhkQBiQaSE4loxS0bNeil7oi+lcro7fpDjUgAAAABJRU5ErkJggg==") !important;
}

If you don't want to install an add-on, you can use the userChrome.css file instead, but I don't recommend it.

more options

This worked and brought back the icon. Thank you so much!

more options

If you would prefer another icon then you can use this code (works for more cases):

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

.tabbrowser-tab .tab-throbber:not([busy="true"]) + .tab-icon-image:not([src]) {
  display: -moz-box !important;
}

#tabbrowser-tabs .tab-icon-image:not(src),
.sidebar-placesTreechildren::-moz-tree-image(leaf),
.bookmark-item:not(src):not([container]):not([type]){

 list-style-image: url("chrome://global/skin/icons/folder-item.png") !important;
 -moz-image-region: rect(0px,16px,16px,0px) !important;
}