📜 ⬆️ ⬇️

Add favicons to bookmarklets

Since the Favicon Picker 2 plugin does not support FireFox 3, and it became sad to look at the empty icons of bookmarklets, I tried to correct this situation.

To work we need the extension Stylish .

After installation, you need to click on the Stylish icon and select Create Style -> Empty Style ...
In the window that appears, enter

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

Next we customize the style for each bookmarklet.
')

toolbarbutton.bookmark-item[label^=" "] {

list-style-image: url(" favicon") !important;

}



Here is an example for BugMeNot

toolbarbutton.bookmark-item[label^="[BugMeNot]"] {

list-style-image: url("http://www.bugmenot.com/favicon.gif") !important;

}


I hope that this instruction will be useful to you.

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


All Articles