Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 726
  • Last Modified:

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

And if it is, How do I do it ?

regards JakobA
0
JakobA
Asked:
JakobA
  • 2
1 Solution
 
Mark StegglesWeb DeveloperCommented:
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
0
 
JakobAAuthor 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
0
 
lucki_lukeCommented:
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
0
 
JakobAAuthor Commented:
Bingo. thanks :-))
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now