My Firefox bookmark toolbar items change icons every now and then for apparently no reason, especially if a site is down. I get the DNS site's icons all over, on another case I have the Facebook icon on a TOTALLY irrelevant bookmark, so the question is: How can I change the icons on my bookmarks in the bookmark toolbar?
Favicon Picker 2 adds a UI for replacing bookmark icons. The extension is based on the the version posted in MozillaZine. It also features an increased icon size limit.
-
Not updated since June 5, 2011 and hasn't worked with Firefox for a while now. – Brock Adams Sep 11 '17 at 22:54
-
2Favicon Picker 3 is not compatible to Firefox Quantum and there is no Favicon Picker 4, yet. – Stefan Apr 9 '18 at 8:18
-
1
-
Point your bookmark at a local HTML document that immediately redirects to the desired destination. Link to a local favicon in the same directory.
You may need to restart your browser before the favicon will show up on the bookmark.
file:///[path]/example.html
<html>
<head>
<meta http-equiv="refresh" content="0; url=http://www.example.com" />
<link rel="shortcut icon" href="example.ico" type="image/x-icon" />
</head>
<body></body>
</html>
file:///[path]/example.ico
This solution suits my personal needs in Firefox 47.0. Note that the solution doesn't work so well where:
- You need to create such bookmarks frequently.
- You have disabled redirection as a security precaution.
- The bookmark must point directly at the destination.
Bookmark Favicon Changer
Right click at your bookmark (Bookmark menu, Bookmark toolbar, Bookmark sidebar, Bookmark manager); the popup menu with option "Change Favicon", "Reset Favicon", "Remove Favicon" and "Export Favicon" will appear.
File types support are ico, bmp, dib, gif, jpg, jpe, jpeg, jif, jfi, jfif, png, apng, svg (every file types that Firefox or SeaMonkey support including URL).
- To get Bookmark Favicon Changer to work in Firefox 40 go to this link
- Instead of clicking on Free Install select the Mirror for Download link and Download to a folder of your choice
- In the main Menu of Firefox select
File
- Select
Open File
from the drop down menu - Navigate to the place where you downloaded Bookmark Favicon Changer and
open it
You will now find that it is in your add-on extension list
-
1
-
2
The following article describes how to do it manually/without extra extension and using a css file in the firefox profile folder (did not test it yet)
- Open up Firefox’s behind-the-scenes “profile” folder on your computer. On Windows 7/8, this is located at:
C:\Users\Your_Username\AppData\Roaming\Mozilla\Firefox\Profiles\Your_Profile_Folder
In that folder, create a new directory called “chrome”, if it doesn’t already exist.
Inside the “chrome” folder, create a new file called “userChrome.css”.
Open up userChrome.css and paste the following CSS code:
/* First line of userChrome.css must be this: */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Custom favicon for this bookmark */
.bookmark-item[label="BOOKMARK_NAME_HERE"] image {
width:0!important;
height:0!important;
padding: 0 0 16px 16px !important;
background:url(BASE_64_STRING_HERE)!important;
}
Someone perhaps nixda above writes
To get Bookmark Favicon Changer to work in Firefox 40 go to this link But seeing as how it is off site (off the firefox official list of add-ons) I felt to afraid to install it before realising the I already had it installed. Alas it no longer works in firefox 50.
However, this below https://addons.mozilla.org/en-US/firefox/addon/bookmarks-favicon-images/?src=search is on the Firefox official list of add ons, and, while a little less convenient perhaps than the former, it works on firefox 50.
Answer for those with some SQL skills:
- Stop Firefox (but first copy paste this as text to your editor)
- Grab your favorite SQLite editor
- Load the favicons.sqlite DB that you will find in your firefox profile.
For each of the problem sites execute:
delete from moz_pages_w_icons where page_url like '%superuser.com%'
- Save the DB
Restart firefox, the icons for the bookmarks will be the default icon (still better than the wrong one), and be restored to the correct icon as soon as you open the bookmark.
Firefox seems to clean off the orphan entries in the join table.