“Open in Tabs” fixed in Firefox 3, at last

The last time I blogged about Firefox’s “Open in Tabs” behavior was 3 years ago in September 2004. Open in Tabs is quite a cool bookmark feature where you can open a folder of bookmarks.

Unfortunately, some of us felt that there it had a flawed implementation. Here’s how you can see it for yourself:

Here, try this in a new Firefox window. Open up 4 tabs. Make sure that there’s nothing in these tabs that you want to remember to come back to later, especially the last 2. Now try using “Open in Tabs” on a bookmark folder with just 2 bookmarks. What just happened? Firefox has closed the last 2 tabs and loaded the first 2 tabs with the first 2 bookmarks. Well, actually this is not so bad for the first 2 tabs, because you can use the “Back” button to go back to your page should you want to, but the tabs that were closed are lost.

It was then rather unfortunate that this bug was closed as WONTFIX. I was thus surprised to see a patch for a similar bug land in the Firefox 3 trunk about a week ago (I haven’t had time to blog about it until now!)

This change in Firefox 3 means that “Open in Tabs” is no longer a destructive proposition - a “use existing tabs and append” strategy is employed.

Here’s how it looks like graphically (which I expect would be easier to understand compared to aforementioned “use existing tabs and append” strategy). Let’s start with 4 tabs, with the Google, Ruby on Rails, Facebook and jQuery websites loaded:

Open in tabs, initial


I have a bookmark folder with 2 bookmarks (to the Firebug and Prototype websites) in them:

Open in tabs, bookmark folder


If I click on “Open in Tabs” in Firefox 3, I end up with this:

Open in tabs, initial


Notice how the Back button is enabled on the Firebug tab (allowing us to go back to the Google webpage), and the Prototype bookmark is loaded in a new tab after the Firebug one.

Small little tweak you may say, but it’s all these small usability tweaks (like the recent Password Manager improvement) that promise to make Firefox 3 a much better browser.

Smarter (and less-annoying) Password Manager in Firefox 3

This is really nice: trunk builds of Firefox 3 since 1 Sept 2007 have a smarter Password Manager that asks you whether you want to save your passwords in a non-modal way. (The relevant enhancement ticket is replace modal pre-submit save password dialog with post-submit bar for those of you who want to read the bug report.)

Anyway, in simpler words (and some screenshots to follow), what this means is that whenever you login to a site that requires your password, Firefox will no longer wait for you to tell it whether it should remember your password. I bet this looks familiar:

Firefox 2 modal 'remember my password' dialog


Its usability is lacking because of 2 things:

  • if I entered the wrong password told Firefox to remember my password, I’d have to go to the Password Manager to delete it, and
  • Firefox doesn’t submit your login until you tell it what to do with your password, annoying for 2 reasons:
    1. Sometimes I’m not sure if I entered the right password - but I’d be pretty sure of that if I get to the next page (i.e. if my login request was submitted).
    2. It’s just plain faster if Firefox submitted the login and asked about my password together/later - blocking the submit is just a waste of time (i.e. a non-modal dialog would make more sense).

So, especially since I’ve used used Firefox for 156 hours at work since a month and a half ago (my most used application apparently), it’s pretty cool to find out that Firefox 3 will come with a non-modal “Remember my password” dialog. Here’s what it looks like:

The new non-modal 'Remember my password' dialog in Firefox 3


The dialog appears on top right after Firefox submits the login form. One more thing to look forward to in Firefox 3!

How to have Firefox 3 and Firefox 2 running at the same time

Firefox 3, or Gran Paradiso, is really shaping up with some pretty cool new features being implemented in the recent months. That’s not including the cool FUEL (Firefox User Extension Library) JavaScript library that promises to make extension development a bajillion times more productive, Places for data storage, and the use of Cairo for graphics.

The problem with playing around with Firefox 3 is (by default) you can’t run both Firefox 2 and 3 at the same time since they both insist on using the same profile and insist on running only 1 copy of Firefox at any one time.

Want to get in on checking out the new features but still want good old Firefox 2? Here’s how:

  • First, you should create a new profile just for testing Firefox 3. You should do this to keep your precious Firefox profile safe from any problems in Firefox 3. Otherwise, Firefox 3 will use your current Firefox 2 profile by default. You can create a new profile easily with the Profile Manager, which you can access by running:

    /path/to/firefox -profilemanager -no-remote

    (Thanks to Jeff for pointing out that there is no need to close Firefox first before creating a new profile.)

    Firefox profile manager


    Create a new profile (I gave it an obvious name, ‘minefield’, which is the codename of the current Firefox trunk). If you get confused, the official Firefox website has more detailed instructions on how to create a new profile.

  • Now, you should already have one of the Firefox nightly builds. If not, you can download the latest nightly build from the Firefox nightly build directory. You can start up Firefox 2 normally (just so you can see Firefox 2 and 3 running side by side). For Firefox 3, we’re going to start it differently.
  • We’re gonna run Firefox 3 using our newly created profile. I’d written earlier on how you can run two Firefox profiles at the same time, and you can still do the same with Firefox 3:

    /path/to/firefox3 -P minefield -no-remote &

    The ‘minefield’ in the command is the name of the profile we created earlier. Windows users should leave out the ‘&’ (on UNIX-based systems, this just runs Minefield in the background so that you can exit your terminal).

  • Firefox 3 should start up with your new clean profile!

    Firefox and Minefield icons in my Mac OS X dock


    That’s the Firefox 3 (Minefield) icon living right next to my Firefox 2 icon in my dock (yeah, I use a Mac).

Andy Croll (who works at Bezurk too) has written a convenient little AppleScript so you don’t have to repeat these steps.

Just so I can put up another screenshot (as if I needed to prove that this really works), here’s Firefox 2 and one of the recent Firefox 3 nightly builds running side by side:


Have fun! I think I’ll get back to watching the development of the trunk (now that it’s getting more exciting) like I used to in the build up to Firefox 1 and 2. I may even make some posts!

Growl integration in Firefox 3

Some of the latest Firefox 3 aka Minefield trunk builds include Growl integration! This is probably a non-event for anyone other than Mac users, but hey Growl notifications without needing to install an extension? Pretty nice.

Firefox 3 Growl notification for downloads


Get a nightly here: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/

To test Firefox 3 nightlies without possibly messing up your existing profile (preferences, extensions, what have you), use the Profile Manager to create a new profile just for testing. Way less stupid then trying to load up 48 tabs from your current profile in Firefox 3 and then seeing most of the extensions fail to work (which was what I tried to do, once).

Source: Bug 362685 – Growl Integration for Mac OS X (nsIAlertsService)

Firefox Recommendation #1: Clearing download history automatically

It’s been ages (well, almost 2 years, but that’s a lifetime in Internet time) since Firefox Secrets was published and I figured I should probably live up to being the “Firefox book” guy (in Singapore). I’m gonna start posting Firefox tips and pointers at least twice a week (hopefully I don’t run out of material!) And instead of using the word “tip”, I’ll call em “recommendations” instead, seeing as Robert Accettura already has an excellent Firefox Tips thing going on his blog.

… clear the list of downloaded items in the download manager to keep your Firefox speedy

Today’s recommendation: get Firefox to clear the list of downloaded items in the download manager to keep your Firefox speedy. You’ve probably read about how cleaning up your download history can help speed up Firefox (on Of Zen and Computing or on Mac OS X Hints), but do you really want to remember to clear up your download history manually?

Firefox download manager


Unsatisfied with a manual solution, I went looking for an about:config preference (not familiar with about:config? Enter ‘about:config’ into your Firefox address bar and hit Enter - read more). Sure enough, there is a browser.download.manager.retention preference when I used ‘download.manager’ as a filter:

Firefox download manager retention preference


But what value should I set it to? The default value is 2 but there’s no clue what another value would do. There’s only one place to find out: the about:config entries page in the MozillaZine Knowledge Base. Search for retention and there you go:

When to remove downloaded files’ entries from the Download Manager
0: Upon successful download
1: When the browser exits
2 (default): Manually

Set it to 0 or 1, whichever behavior you prefer. I like 0 since I use the Download Statusbar extension and never get to see the Download Manager.

That’s it for today’s tip (and a pretty low-key tip at that)!