X
Appuyez ici pour vous rendre sur la version mobile du site.

Forum d’assistance

weird square favicon

Publié

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.

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.

Solution choisie

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),
.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;
}
.bookmark-item[container]:not([livemark]):not([query]){
 list-style-image: url("chrome://global/skin/icons/folder-item.png")!important;
 -moz-image-region: rect(0,32px,16px,16px)!important;
}

.sidebar-placesTreechildren::-moz-tree-image(title,container,livemark),
.bookmark-item[container][livemark]{
 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png")!important;
 -moz-image-region:auto!important;
}
.sidebar-placesTreechildren::-moz-tree-image(title,livemarkItem),
.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;
}
.sidebar-placesTreechildren::-moz-tree-image(title,livemarkItem,visited),
.bookmark-item[container][livemark] .bookmark-item[visited]{
 -moz-image-region: rect(0px,32px,16px,16px)!important;
}
Lire cette réponse dans son contexte 16

Détails additionnels sur le système

Plugins installés

  • 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
  • 6.0.12.1739
  • RealJukebox Netscape Plugin
  • DRM Netscape Network Object
  • DRM Store Netscape Plugin
  • Npdsplay dll

Application

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

Plus d’informations

cor-el
  • Top 10 Contributor
  • Moderator
17541 solutions 158616 réponses

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.

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 réponses

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.

https://bugzilla.mozilla.org/show_bug.cgi?id=702730

''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. [https://bugzilla.mozilla.org/show_bug.cgi?id=702730]
Wizz2464 0 solutions 3 réponses

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

I had the same problem. Disable Favicon Picker 2 and problem solved. Too easy :)
Shain 0 solutions 1 réponses

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

Thanks wizz! That worked for me. Great troubleshooting ...
hoodsmom 1 solutions 6 réponses

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

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

Modifié le par hoodsmom

Thomazu 0 solutions 1 réponses

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.

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.

Modifié le par Thomazu

KAWill70 0 solutions 1 réponses

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.

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 réponses

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

https://bugzilla.mozilla.org/show_bug.cgi?id=702730

In comment number 8 my patch for Firefox 9.0.1

For replace the horrible default favicon (dotted square and empty) with a nice favicon. As it was in Firefox 7. The bug is this: [https://bugzilla.mozilla.org/show_bug.cgi?id=702730] In comment number 8 my patch for Firefox 9.0.1
Tomatoweb 8 solutions 45 réponses

You could use this...

You could use [https://addons.mozilla.org/en-US/firefox/addon/identfavicon/?src=search this...]

Modifié le par Tomatoweb