I've given a few of my Bookmark folders custom icons to locate them better, but they don't show in either Bookmark Manager or the sidebar. I've tried adding code to UserChrome and just can't seem to get them to show. This attempt added the custom icon to every line in the Location and Description columns (colorful, but not what I wanted) but I can't seem to get it to target the folder.
I, too, am interested in knowing if this is possible to do. In testing, the only folders I am able to affect are inside the bookmarks toolbar with this:
More difficult is an understatement. I've gone through the Bookmarks Manager xul and css files trying to get some insight into how the default icon is assigned, but have had no luck. I know it's possible to affect the sidebar and manager as custom icons assigned to bookmarks will show up, but the container folders have me stumped for the moment.
After several hundred tries, any ideas or suggestions will be very welcome.
Im not sure if Im reading you right, but I have mine changed with a personal choice of icon for each of about 10 different ones in the Folder, the Sidebar and they work fine.
Thank you for the input Raila, but that code only changes the icon on the toolbar and not the sidebar.
What I'm trying to do is get the custom icon I've assigned to Bookmark Folders to also show up in the Bookmark Manager and Sidebar.
For example, the code I posted assigns, in the Bookmarks drop down menu, a bright purple folder icon to the Folder "Motels" where I keep bookmarks for various lodging. However, in the Bookmarks Manager, it's only the generic folder icon rather than my custom icon.
If you use Favicon Picker to give a Bookmark a custom icon, it shows in the BM and Sidebar so it seems that it should be possible with Folders but so far it's eluding me.
Well, I'm getting nowhere with this. So far the JS script doesn't make a difference.
When I have time I'm going to tear Favicon Picker apart to see if I can figure out how it sets the Bookmark Icons that show in the Bookmark Manager.
I tried this and liked the effect, so I guess it's not a total loss.
mozillaZine is an independent Mozilla community and advocacy site. We're not affiliated or endorsed by the Mozilla Corporation but we love them just the same.