MozillaZine

Is there a working Bookmark icon changer for Firefox ESR 52

User Help for Mozilla Firefox
LoveMyFoxy

User avatar
 
Posts: 2039
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted February 22nd, 2018, 3:07 pm

I have about 40 bookmarks in my Mz folder. I'm not going to do them all.

I'll try it with a 1-bookmark site, but I think this trick is more trouble than it's worth, at least for me.

I don't have 45, and I think morat's code is fine,
Desktop--Win 7 Ult. 64-bit, 6GB RAM /FF 52ESR 64/ Thunderbird 52 / MS Sec. Essent./ Windows firewall / Verizon FIOS

morat
 
Posts: 2662
Joined: February 3rd, 2009, 6:29 pm

Post Posted February 22nd, 2018, 3:46 pm

You can change the attribute selector if you want to select a part of the label.

You can use the image attribute if you want to select for the domain.

Code: Select all
.bookmark-item[label$="mozillaZine Forums"] image { ... }

Code: Select all
.bookmark-item[image*="forums.mozillazine.org"] image { ... }

Attribute selectors
http://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors

@c627627

The css is the same for a 32x32 or 48x48 or 256x256 image. The css resizes the image to 16x16.

An .ico file can contain one or more images at multiple sizes. I don't know how the application chooses between different images in a single file.

Return to Firefox Support


Who is online

Users browsing this forum: No registered users and 23 guests