Dale Dietrich
friedman: always supply your comparative advantage
Random header image... Refresh for more!

Fix For Firefox 3’s ‘Open in Tabs’ Overwrite Bug

Categories: small office, software

Firefox3bug_thumb5On May 25, 2008, I wrote this post about Firefox 3’s ‘Open in Tabs’ Overwrite Bug. That post has been, by far, the single most accessed post on The Daleisphere.

I’m delighted to report that thanks to Martijn Warger (see comment 57 here), there is now a tiny Firefox extension that completely solves the problem.

The Problem

For as long as I’ve been using Firefox (a couple years now), middle clicking on any group of tabs in a folder would open all the tabs in the group while simultaneously overwriting all currently open tabs - a very valuable function when you routinely browse by folders as I do.

This was the case when when the about:config

browser.tabs.loadFolderAndReplace

option was set to true - its default setting.

From the early Firefox 3 betas up through to the current Firefox 3.0.1 version, this has been broken. No matter how that option was set, opening new tab groups appended the new tabs to open tabs instead of overwriting them (more details in my original post).

The Solution

Click here to download/install Martin’s “ReplaceTabs Extension 1“. You will need to open the.xpi file with Firefox to install the extension. after installation, Firefox will need to be restarted for the solution to take affect. Once restarted, make sure the about:config option (see picture below) is set as follows:

browser.tabs.loadFolderAndReplace = true

For those new to “about:config”, type “about:config” into the Firefox navigation bar (see picture) and press enter. That will bring up Firefox’s about:config screen (the place to futz with Firefox’s advanced settings). Scroll down to the ‘browser.tabs.loadFolderAndReplace’ option and make sure its ‘Value’ is set to ‘true’ as pictured below. If it is set to ‘false’, double left click it to turn it to true. That’s all that’s to it. 

Fix For Firefox 3's 'Open in Tabs' Overwrite Bug

From then on, middle clicking on a tab group will open those tabs and overwrite the currently open tabs just as Firefox has done for years. Thanks so much Martijn!

Related Posts:

Tags: , , ,

Digg! Digg Del.icio.us  

9 comments

1  Martijn { 08.05.08 at 8:11 am }

Hi Dale,

I’m glad you like that tiny extension of mine.
I wrote it because my brother was also really bothered by this change of behavior and I couldn’t find an extension that would revert it.

Note that I already set the browser.tabs.loadFolderAndReplace pref to true in my extension, so you should not have to do that any more, after you’ve installed the extension.
I also added an option to change it, under Tools->Options->Tabs.

2  Dale Dietrich { 08.05.08 at 3:00 pm }

Thanks Martijn. Any word on getting it on the official Firefox Extensions page. Not only will it be easier for folks to find, it will make people feel a little safer about adding it in if its there.

Cheers.

3  Martijn { 08.15.08 at 9:12 pm }

Ok, I just did an attempt on getting it on addons.mozilla.org. See https://addons.mozilla.org/en-US/firefox/developers/details/8511
I would expect that Tab Mix Plus would offer this kind of functionality, also, but it doesn’t seem like it.

4  Kevin { 08.20.08 at 6:46 pm }

Big thanks Martijn. This single item has made me not install Firefox 3 on several computers. Thanks for fixing what the developer’s broke.

5  gregor lee { 08.27.08 at 2:03 pm }

thanks! broke down and allowed the psuedo-forced “update” to FF3 yesterday, and this change in functionality was immediately noticed. quick search revealed the problem and your fix. works as expected. tak & lycka till!

6  Martijn { 08.27.08 at 8:23 pm }

Ok, now the extension was reviewed or something:
https://addons.mozilla.org/en-US/firefox/addon/8511
“Your nominated add-on, Replacetabs Extension, has been reviewed by a Mozilla Add-ons editor who decided to retain your add-on in the sandbox.
Comments: One of the requirements to go public on addons.mozilla.org is that your add-on must have some reviews either on AMO or elsewhere on the web. See http://shawnwilsher.com/archives/108 for some ideas on how to do that. If you have non-AMO hosted reviews (e.g. on blogs, forums, etc… please send those links in). Once you have those reviews in place, please renominate to go public on AMO.

Thanks.

If you have questions about this review, please e-mail amo-editors@mozilla.org or join #addons on irc.mozilla.org.

So I guess I need reviews or something on AMO to get the extension out of the sandbox, so it can go public (but which I would have to renominate it for. Man, this is complicated!)

7  DavidE { 09.05.08 at 12:29 am }

Apparently, they broke the new functionality, as well. I was one of the people who explicitly set the behavior so that “Open All in Tabs” would open all of the bookmarks in new tabs. With FF 3, the problem is that it overwrites the tab I currently have open! I liked being able to open a whole folder of tabs, but now I have to get into the new habit of creating a new tab first.

I guess it’s time to learn how to write extensions so I can get the old behavior back. I really wish developers wouldn’t change existing behaviors like this without providing ways to keep the old behavior.

8  Dale Dietrich { 09.15.08 at 1:26 pm }

Martijn, sorry I just noticed your comment from August 27 in my moderation queue today (Sept 15). My blog has anti-spam countermeasures which held your post up.

You can certainly refer the Mozilla editors to this page as one external review! I love your add-on. I’m using it on four computers now - two XP PCs, one Vista 64 and one iMac! All working great.

…Dale

9  HEL { 09.24.08 at 11:17 am }

While I enjoyed the default FF2 behavior, I can see merit in the argument to change the default. I wouldn’t cry about having to change a single cvar to make my experience suitable.

That said, why BREAK/REMOVE the functionality? The logic escapes me.

Also, it appears that the download link is bandwidth exceeded! I hope I saved the copy from my home machine!

Leave a Comment