Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

weird square favicon


Hello. I have Firefox 8 and some pages have weird square favicon, because they haven't their own. For example: http://www.metro.sk/public/76866 Can you fix it? Thanks.

Chosen solution

You're welcome.

I had noticed that transparent block as well and this question was a good opportunity to see if there was a solution possible. A quick comparison and check revealed that the old folder icon is still present.

This code adds them also for bookmarks on the Bookmarks Toolbar.

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

/* default favicon */
#tabbrowser-tabs .tab-icon-image:not(src),
 list-style-image: url("chrome://global/skin/icons/folder-item.png")!important;
 -moz-image-region: rect(0px,16px,16px,0px)!important;
 list-style-image: url("chrome://global/skin/icons/folder-item.png")!important;
 -moz-image-region: rect(0,32px,16px,16px)!important;

 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png")!important;
.bookmark-item[container][livemark] .bookmark-item{
  list-style-image: url("chrome://browser/skin/places/livemark-item.png")!important;
 -moz-image-region: rect(0px,16px,16px,0px)!important;
.bookmark-item[container][livemark] .bookmark-item[visited]{
 -moz-image-region: rect(0px,32px,16px,16px)!important;
Read this answer in context 16

Additional System Details

Installed Plug-ins

  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 1.6.0_29 for Mozilla browsers
  • Shockwave Flash 10.3 r183
  • Office Plugin for Netscape Navigator
  • RealPlayer(tm) LiveConnect-Enabled Plug-In
  • RealJukebox Netscape Plugin
  • DRM Netscape Network Object
  • DRM Store Netscape Plugin
  • Npdsplay dll


  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0

More Information

  • Top 10 Contributor
  • Moderator
10776 solutions 96959 answers

Be aware that replacing omni.jar only works with this specific Firefox version because omni.jar will be replaced by a new version if you need to update Firefox in the future (don't let that be an obstacle to stop updating!). If someone doesn't update omni.jar in that new version and offer to download it that you are without those changes. The code in userChrome.css should still work.

Iceberg- 0 solutions 5 answers

cor-el you are right. My patch only works with Firefox 8.0, not for another version of Firefox. For this reason I opened this bug. Who does not like this new favicon, could vote for the resolution of this bug.


Wizz2464 0 solutions 3 answers

I had the same problem. Disable Favicon Picker 2 and problem solved. Too easy :)

Shain 0 solutions 1 answers

Thanks wizz! That worked for me. Great troubleshooting ...

hoodsmom 0 solutions 2 answers

I too would like the icon changed back to the dog-eared page (and I voted at Bugzilla). Unfortunately, as far as I can tell, after a reasonably diligent search of Index of jar-file-///Applications/Firefox.app/Contents/MacOS/omni.jar!/chrome/toolkit/skin/classic/ there's no longer a dog-eared page icon (which used to be at jar:file:///Applications/Firefox.app/Contents/MacOS/omni.jar!/chrome/toolkit/skin/classic/global/tree/item.png). So the posted solutions relying on changing a user style aren't going to work. FF 8.0.1

Modified by hoodsmom

Thomazu 0 solutions 1 answers

Thanks cor-el! I'm using portable FF 8.0.1 and I didn't find userChrome.css file but I created it to "/data/profile/chrome/" and it worked.

Edit: Done it to home pc with FF 8.0.1 and also to linux.

Modified by Thomazu

KAWill70 0 solutions 1 answers

Thanks very much cor-el. The userChrome.css code works great!

I just upgraded to Firefox 9.0 and the Favicon problem remains.

Are others seeing this same problem in Firefox 9.0?

Regardless, the userChrome.css fix works for both FF8 and FF9.

Iceberg- 0 solutions 5 answers

For replace the horrible default favicon (dotted square and empty) with a nice favicon. As it was in Firefox 7. The bug is this:


In comment number 8 my patch for Firefox 9.0.1

Tomatoweb 8 solutions 45 answers

You could use this...

Modified by Tomatoweb