V
V
Valery2017-09-14 11:50:01
JavaScript
Valery, 2017-09-14 11:50:01

How to set an icon for a JS bookmark on the browser panel?

There is a common "drag to bookmarks bar" link button that does not follow the link, but executes some JS, for example:
javascript:alert(1);
How to force the browser to use the site's favicon when adding it to the bookmarks bar?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alyosha, 2017-09-14
@GIBRID21

Most likely not.

P
Petya Persianov, 2017-09-14
@Dr0nk

javascript:alert('%20test%20');

K
Kovalsky, 2017-09-14
@lazalu68

"How to set an icon for a JS bookmark on the browser panel?" - using any of the existing extensions for this .
"How do I force the browser to use the site's favicon when adding a bookmarklet to the bookmarks bar?" - either with the help of the same extension, or with the help of not quite adequate coding .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question