Bookmarks Deiconizer Deprecation and Fix

I’ve been getting some comments that my addon Bookmarks Deiconizer has stopped working with Firefox 20 or so. Please note that it’s been broken for sometime requiring a disable/re-enable recycling since sometime around Firefox 12 if you opened multiple windows.

A simple fix is to use a userChrome.css hack which I’ve described before, but will repost here, in its awesomesplendid entirety:

A couple of years ago, I made a simple addon to remove the icons from bookmarks in the bookmarks toolbar in Firefox. It was a fun hack, but I knew then that it wasn’t the right way to do this. Nevertheless, easy is the enemy of perfect (or something) so I kept on using it, and AMO kindly kept on updating it when new versions of Firefox were released.

All was right in the world.

Then this week, some changes to Firefox’ toolbar caused the add-on to stop working. It still works if you do the enable-disable dance in the Addons Manager, but that’s no way to live everytime you restart your browser or open a new window. Something had to give!

To banish your bookmarks icons forever, add the following to your userChrome.css file (it’s in your Profile Directory‘s chrome subdirectory). If it doesn’t exist, create a new file named userChrome.css and add:

scrollbox#PlacesToolbarItems > toolbarbutton.bookmark-item > .toolbarbutton-icon {
  display: none;
}

Update: If you’re on Windows, you’ll probably want to include:

scrollbox#PlacesToolbarItems > toolbarbutton.bookmark-item > .toolbarbutton-menu-dropmarker {
    display: -moz-box !important;
}

This makes the little folder drop-down arrow visible on folders.

Save the file, restart your browser and your icons should be gone forever.