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?
|
|
|||
|
|
The Favicon Picker 2 extension will let you do this.
Also, you can uninstall the extension when you're done and the icons will remain. |
||||
|
|
Pelms' suggestion led me to find the possibly-related Favicon Picker 3, which works better on Mac OS X. |
|||
|
|
|
You can try this trick:
Now you've turned the bookmark from step 2 into a bookmarklet with the desired favicon and JavaScript. |
||||
|
|
|
For Firefox 4 use Bookmark Favicon Changer. The old Favicon Picker add-ons aren't updated. |
|||
|
|
|
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" |
|||||
|

