Solved

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

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

regards JakobA
0
Comment
Question by:JakobA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Title # Comments Views Activity
Validating Date Part2 2 27
How Close unsubmited attempts 10 46
Problem evaluating javascript equality expression 8 18
Open grouped links on a page in new tabs via jquery 5 46
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to implement server side field validation and display customized error messages to the client.
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…

733 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