Create an icon for a link, which is JavaScript?

I have a link on my site, which is strictly JavaScript, that users can optionally drag them to the browser link bar. Since there is no linked site with Favicon, the link always gets a blank icon. Is there any way to link Favicon with him while the user drags him? I'm most interested in the Firefox solution, but IE will be nice too.

+3
source share
2 answers

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

An alternative would be to point to an HTML file (on a server with favicon). which contains only a script

+1
source

In fact, there is a way to do this in Firefox using Favicon Picker 2 . I have several different bookmarklets in which I have custom icons on the shortcut and bookmarks.

+2
source

Source: https://habr.com/ru/post/1709770/


All Articles