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 officesoftware
Tags:

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

[June 30,009 Update: Martijn has updated the ReplaceTabs Extension to work with Firefox 3.5. Read about it on the Bugzilla here or download it here. I have tested it both on the iMac and on Windows 7 RC and it works just fine. Do not used the old one crossed-out below if you have Firefox 3.5 or above]

Click here to download/install Martijn’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!

Digg! Digg Del.icio.us  

  • Martijn

    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.

  • http://www.daleisphere.com Dale Dietrich

    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.

  • Martijn

    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.

  • Kevin

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

  • gregor lee

    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!

  • Martijn

    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!)

  • DavidE

    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.

  • http://www.daleisphere.com Dale Dietrich

    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

  • http://beafraid.com HEL

    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!

  • Pingback: The Daleisphere — Firefox 3.5 Ticks Along Nicely

  • EricW

    *sigh* This feature is broken yet again. Firefox 3.5.7 shows the ReplaceTabs Extension as “not compatible” with Firefox.

    I can't decide which is more aggravating… that somehow Mozilla keeps continually finding ways to break the fix posted here, or that they seem oblivious to the fact that this feature really did exist at one time in their browser, and should be fixed by THEM.

  • EricW

    *sigh* This feature is broken yet again. Firefox 3.5.7 shows the ReplaceTabs Extension as “not compatible” with Firefox.

    I can't decide which is more aggravating… that somehow Mozilla keeps continually finding ways to break the fix posted here, or that they seem oblivious to the fact that this feature really did exist at one time in their browser, and should be fixed by THEM.

  • http://www.daleisphere.com Dale Dietrich

    Unfortunately ReplaceTabs Extension 1.1 does not work in Firefox 3.6. I had to revert back to 3.5 pending an update by Martijn. I don't know of any other extension that solves the problem. I don't have a direct way of contacting Martijn. I left a requst for an update on Bugzilla here:

    https://bugzilla.mozilla.org/show_bug.cgi?id=17

    and I also added to the chorus of requests for an update on the official Mozilla add-ons page here:

    https://addons.mozilla.org/en-US/firefox/addon/

    Martijn, if you are out there, please help us out. Also, I suggested you add the donatoin button to the downloads page. I'd certainly be happy to kick in a $5 or so PayPal donation every time an update is needed.

    …Dale

  • http://www.daleisphere.com Dale Dietrich

    Unfortunately ReplaceTabs Extension 1.1 does not work in Firefox 3.6. I had to revert back to 3.5 pending an update by Martijn. I don’t know of any other extension that solves the problem. I don’t have a direct way of contacting Martijn. I left a requst for an update on Bugzilla here:nnhttps://bugzilla.mozilla.org/show_bug.cgi?id=175124#c68nnand I also added to the chorus of requests for an update on the official Mozilla add-ons page here:nnhttps://addons.mozilla.org/en-US/firefox/addon/8511nnMartijn, if you are out there, please help us out. Also, I suggested you add the donatoin button to the downloads page. I’d certainly be happy to kick in a $5 or so PayPal donation every time an update is needed. nn…Dale