Solved

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

Posted on 2006-10-21
4
709 Views
Last Modified: 2008-01-09
And if it is, How do I do it ?

regards JakobA
0
Comment
Question by:JakobA
  • 2
4 Comments
 
LVL 30

Expert Comment

by:Steggs
ID: 17780907
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
 
LVL 15

Author Comment

by:JakobA
ID: 17780984
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
 
LVL 9

Accepted Solution

by:
lucki_luke earned 500 total points
ID: 17783711
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
 
LVL 15

Author Comment

by:JakobA
ID: 17837677
Bingo. thanks :-))
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question