.
Bitland.Net Security Notes            Comments? email jwilkins-at-bitland*net
More information on the author at Jonathan Wilkins's home page
RSS feed available at http://www.bitland.net/index.rss               Add to Google
Archives: 2007, 2006, 2005, 2004, 2003, 2002, 2001, 2000


Fixing the Firefox profile selection dialog  |  (2007/05/18 14:00)

If you have a bunch of profiles, then the non-resizable profile selection dialog that pops up when you launch Firefox is a bit of an annoyance. To fix this:

On *nix - edit /usr/share/firefox/chrome/toolkit/content/mozapps/profile/profileSelection.xul around line 91

<listbox id="profiles" rows="10" seltype="single"
    ondblclick="onProfilesDblClick(event)"
    onkeypress="onProfilesKey(event);">
</listbox>

On Windows you have to jump through a few more hoops. Go to \Program Files\Mozilla Firefox\chrome and unzip toolkit.jar, then edit content\mozapps\profile\profileSelection.xul the same as above. I also changed the dialog style (around line 60) to read:

  style="width: 30em; height:400px;"

Then re-zip using store instead of deflate and replace the existing toolkit.jar file.

You can also download my firefox-2-toolkit.jar, if you don't want to do it yourself. All Firefox sessions have to be closed in order to replace toolkit.jar.

+digg  |  +del.icio.us   |    [Tools ]   |   Permanent link

RSS feed available at http://www.bitland.net/index.rss