Friday, June 27, 2008

Resizing the “Bookmark this page” dialog in Firefox 3

I like using the new Firefox 3, but there is a little thing that annoys me.   When you go to bookmark a page, you get the “Bookmark this page” dialog.  Inside that dialog, there is a folder tree that will display your bookmark folders.  Out of the box, you can only see a little more than handful of folders at time, you have to scroll around to find the folder to use.  If you are as hierarchal-retentive as I am, you can have lots of folders, some nested pretty deep.  I know about the new tags functionality, but I still like to file my bookmarks like a squirrel with his acorns.

The “Bookmark this page” (and the “Page Bookmarked”) dialog isn’t doesn’t have the resize widgets.  You can’t just drag an edge or a corner and resize it with a mouse.  For some reason, it’s size is fixed.  Unless you want to go under the hood and tweak the UI a bit.

There is a file named userChrome.css in the chrome sub folder of the profile folder.  This file lets you override various GUI settings in the Mozilla product line.  It’s doesn’t exists by default, you have to put one in the chrome folder.  A file named userChrome-example.css should exist already in that folder.  All you need to do is to  copy that file to userChrome.css and you are ready to start.

I added the following CSS code to increase the size of the folder tree control that is located in the middle of the dialog.

min-width:400px !important;
min-height:600px !important;

After adding that definition and saving the file, you will need to restart FireFox.  This should work for Firefox 2, but I haven’t tested it there.  I found that little gem right here on the mozillaZine forum.  That will give you a much longer list when you open the folder tree.


  1. Sir, I salute you. Just installed FF3 and this was driving me nuts! A lovely little fix.

    Many thanks.

  2. Thanks for this tip, I have been looking for a solutution and found one that worked well.

  3. Thank you OH SO MUCH! That tiny "Page Bookmarked" window has been annoying me to no end!

  4. Is there a way to pin it so that it stays expanded from one save to the next? If you know of a way to set it I would appreciate it. And this worked out well. Thanks

  5. ZOMg! thank you soo much.
    I really hate that small window.

  6. Or try this:

    "This extension allows for customization of the Add Bookmark dialog. The bookmarks tree can be automatically opened and elements can be revealed or hidden. Also, the dialog can be resized!"

    Works great!


Note: Only a member of this blog may post a comment.