Solved

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

Posted on 2006-10-21
4
707 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
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…

770 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