Take the 2-minute tour ×

Bookmarklets, such as SuperGenPass don't have favicons, because they are javascript: links and Firefox doesn't know where it would obtain the favicon from. Is there any way to add a favicon to a JavaScript bookmarklet?

share|improve this question
I don't think this is possible, but if you find a solution I'd certainly like to know (I have 100's of bookmarklets) –  scunliffe Oct 18 '09 at 2:09
add comment

5 Answers

The Favicon Picker 2 extension will let you do this.

How to Use: Just right-click any bookmark and select "Properties,"
then click "Browse..." to select an icon or paste a URL to an icon.

Bookmarklet icons

Also, you can uninstall the extension when you're done and the icons will remain.

share|improve this answer
Mucks up some other dialogs on Mac, but I was able to install the extension, set an icon, and uninstall it. Is there a way to change this using about:config or the like? –  Drew Stephens Oct 19 '09 at 14:58
add comment

You can try this trick:

  1. Find a normal link (without JavaScript) for the website with the correct favicon.

  2. Add that link to your bookmarks toolbar as a normal bookmark.

  3. Finally, change the properties of the bookmark you just added and change the location to be the actual JavaScript bookmarklet you want (you want the location from the bookmarklet that doesn't have the favicon).

Now you've turned the bookmark from step 2 into a bookmarklet with the desired favicon and JavaScript.

share|improve this answer
add comment
up vote 3 down vote accepted

Pelms' suggestion led me to find the possibly-related Favicon Picker 3, which works better on Mac OS X.

share|improve this answer
Works fine for me on Windows 7 x64 too –  CAD bloke May 30 '10 at 23:24
add comment

For Firefox 4 use Bookmark Favicon Changer. The old Favicon Picker add-ons aren't updated.

share|improve this answer
add comment

The easiest way is to hijack a bookmark. Just bookmark a page that has a favicon that you want to use. You may need to click on the bookmark to have it load the favicon from the site that it links to. Once you have the favicon, then, go to the bookmark, right click, and choose properties. You can then change the "location" to the javascript code for the bookmarklet you want to have associated with the favicon. Tip: To differentiate a bookmarklet from a bookmark, I change the "name" in the properties tab to whatever preceeded by M:, so for example, if the bookmarklet was for creating a shortened URL using goo.gl, I would name that "M:Goo.gl"

share|improve this answer
Amigo, is this answer substantively different from the answer by URLParser.com? –  Mr.Wizard Jul 1 '12 at 8:11
add comment

Your Answer


