How do I change Firefox bookmark toolbar icons?
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.
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.