up vote 5 down vote favorite
2
share [g+] share [fb]

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?

link|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
feedback

4 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.

link|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
feedback
up vote 2 down vote accepted

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

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

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.

link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.