D'Arcy Rittich
D'Arcy Rittich

Reputation: 171411

Create a favicon for a link that is JavaScript?

I have a link on my site that is strictly JavaScript, that the users can optionally drag to their browser's link bar. Because there is no associated site with a Favicon, the link always gets a blank icon. Is there anyway to associate a Favicon with it at the time the user drags it? I am primarily interested in a Firefox solution, but IE would be nice, too.

Upvotes: 3

Views: 642

Answers (2)

Rich D
Rich D

Reputation: 21

Actually, there is a way to do this in Firefox using the Favicon Picker 2 addon. I have a couple of different bookmarklets that I have custom icons on my shortcut bar and bookmarks.

Upvotes: 2

scunliffe
scunliffe

Reputation: 63588

AFAIK there is no way to do this. In Firefox for example all my bookmarklets are just blank pages.

The alternative would be to point to an HTML file (on a server with a favicon). that only contains the script

Upvotes: 1

Related Questions