Is it possible to assign a favicon to a bookmarklet in the browsers link bar?

JakobA
JakobA used Ask the Experts™
on
And if it is, How do I do it ?

regards JakobA
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Mark StegglesWeb Developer
Top Expert 2006

Commented:
Greetings JakobA,

If you have a favicon in your root and this in your html <head> <link rel="shortcut icon" href="favicon.ico" />, that's all you need

Regards

Author

Commented:
Steggs >>

True, but that is the way to set a favicon for a webpage.

I have some bookmarklets in my browser and I would like to assign favikons to those bookmarklets without regard to witch webpage I am looking at at any given time.

regards JakobA
Hey JakobA,

this is not easily done. Furthermore this is very browser specific.
Generally I would not modify it.

In firefox in your profile folder you have a bookmarks.html.
There you can add a ICON attribute to the links if it hasnt already. Then you would have to paste the string representation of the icon as the attributes value, e.g.
data:image/x-icon;base64,AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAQAEAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAwMDAAMDcwADwyqYA1PD/ALHi/ [...]

Firefox must be closed otherwise it may be overwritten.
This only works in firefox however. Not sure how to do it in IE.

Lukas

Author

Commented:
Bingo. thanks :-))

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial