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!

37 Comments & TrackBacks (Add yours)

The paper doll icon that precedes each comment is an idea conceived by Vanessa Tan.

Paper doll icon
How to run Firefox 3 and Firefox 2 at the same time « Linker’s researches's Gravatar

[…] Pubblicato da linker su 21 Agosto 2007 I’ll provide a link to a good article explaining how to obtain this: here. […]

Posted by: How to run Firefox 3 and Firefox 2 at the same time « Linker’s researches on August 21, 2007 4pm

Paper doll icon
K-IntheHouse's Gravatar

Hey, that’s a great tip! I have been waiting to get my hands on but didn’t realize I could use Profiles to run them side by side! :-)

Cheers.

Posted by: K-IntheHouse on August 21, 2007 9pm

Paper doll icon
jeff's Gravatar

:) this is great!!! you’ve managed to blog down (as well as add some stuff to) what i’ve known previously…

Btw, you can improve on that “first” point by adding ‘-no-remote’, so that there is no need to close firefox first before creating a new profile…:

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

Posted by: jeff on August 22, 2007 11am

Paper doll icon
User First Web » links for 2007-08-23's Gravatar

[…] How to have Firefox 3 and Firefox 2 running at the same time - redemption in a blog (tags: firefox testing) […]

Posted by: User First Web » links for 2007-08-23 on August 23, 2007 3pm

Paper doll icon
jeff's Gravatar

AHEM, AHEM!!! :) Making more noise than a twitter, hopefully…

Posted by: jeff on August 23, 2007 5pm

Paper doll icon
How to Run Firefox 2 and Firefox 3 Simultaneously | ShanKri-la's Gravatar

[…] if there was a way to run Firefox 3 & Firefox 2 simultaneously, I came across a post on Redemption in a Blog on how to do […]

Posted by: How to Run Firefox 2 and Firefox 3 Simultaneously | ShanKri-la on August 24, 2007 10am

Paper doll icon
Firefox 3 and Firefox 2 running at the same time | Firefox.hk's Gravatar

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

Posted by: Firefox 3 and Firefox 2 running at the same time | Firefox.hk on September 20, 2007 12pm

Paper doll icon
Firefox 3 beta test at folbert dot com's Gravatar

[…] The first beta of Firefox 3 is out. If you, like I, want to test it and want to be able to run it alongside Firefox 2, here’s how. […]

Posted by: Firefox 3 beta test at folbert dot com on November 21, 2007 5pm

Paper doll icon
WWD Coffee Break - Firefox, Shopping & Comics « Web Worker Daily's Gravatar

[…] yesterday, Firefox 3 Beta 1 is out. If you want to test without messing up your Firefox 2 install, create a separate profile. Or install the Nightly Tester Tools to re-enable any addons that get disabled if you upgrade. To […]

Posted by: WWD Coffee Break - Firefox, Shopping & Comics « Web Worker Daily on November 22, 2007 12am

Paper doll icon
» WWD Coffee Break - Firefox, Shopping & Comics - Your Gadget Pro's Gravatar

[…] yesterday, Firefox 3 Beta 1 is out. If you want to test without messing up your Firefox 2 install, create a separate profile. Or install the Nightly Tester Tools to re-enable any addons that get disabled if you upgrade. To […]

Posted by: » WWD Coffee Break - Firefox, Shopping & Comics - Your Gadget Pro on November 22, 2007 1am

Paper doll icon
Does Not Piss Me Off » Blog Archive » Multiple Instances of Firefox at the same time's Gravatar

[…] turns out that there’s a -no-remote option that seems saner than MOZ_NO_REMOTE (also at How-To […]

Posted by: Does Not Piss Me Off » Blog Archive » Multiple Instances of Firefox at the same time on November 24, 2007 11am

Paper doll icon
monk.e.boy's Gravatar

Hey, cool. Thanks for the tip man!!

monk.e.boy

Posted by: monk.e.boy on December 3, 2007 6pm

Paper doll icon
?????? ?? ???????????? ? ??????… « ???? ?????? ???????'s Gravatar

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

Posted by: ?????? ?? ???????????? ? ??????… « ???? ?????? ??????? on December 7, 2007 8pm

Paper doll icon
Firefox Mastery » How to use Firefox 3 and Firefox 2 on the same system's Gravatar

[…] the normal versions of Firefox 3 and Firefox 2. This is understandable as well. A post on the Codefront blog explains how this can be achieved without facing the difficulties of sharing a profile. The […]

Posted by: Firefox Mastery » How to use Firefox 3 and Firefox 2 on the same system on December 10, 2007 2am

Paper doll icon
Black Dove's Gravatar

great post but how can we do that with both of portable firefox 2,3 ?

its portable so where we can save the new profile that we will make so we can use both of them at any pc ?

Posted by: Black Dove on December 11, 2007 3am

Paper doll icon
How to use Firefox 3 and Firefox 2 on the same system - www.Tech-Dump.com's Gravatar

[…] the normal versions of Firefox 3 and Firefox 2. This is understandable as well. A post on the Codefront blog explains how this can be achieved without facing the difficulties of sharing a profile. The […]

Posted by: How to use Firefox 3 and Firefox 2 on the same system - www.Tech-Dump.com on December 13, 2007 1am

Paper doll icon
Y Karmi's Gravatar

So here’s a little thing I’ve done after following the instructions.

I’ll start by saying that I created two profiles. First one was called firefox2 and the second one firefox3 (I completely ignored the default one) - Now I figured that I wouldn’t want to go through this whole process every time - and appending the -p firefox flag to the shortcut didn’t work so I created a batch file. Here’s what I did - follow carefully.

For firefox2

1. Open notepad
2. Write this:

cd C:\Program Files\Mozilla Firefox
firefox.exe -P firefox2 -no-remote &
EXIT

3. Now there are two things you might want to change:
-The path (mine was C:\Program Files\Mozilla Firefox)
-The profile name (mine was firefox2)

4. Now choose file -> save as
5. Change “Save as type” from “Text Document (*.txt)” to “All Files”.

5. Save the file to your firefox installation folder

5. Choose a file name of firefox2.bat and click “Save”

6. Now download this nifty program: http://www.download.com/Bat-To-Exe-Converter/3000-2069_4-10715331.html

7. Open it. Under Bachfile select your file from your firefox folder.

8. Choose Ghost application right above complie

9. Click compile

10. Now go to your firefox installation folder and get rid fo the bat file

11. Right click the firefox2.exe file (which was converted from the bat file) and choose “Create Shortcut”

12. Right click the shortcut and click “Properties” then click “Change Icon” - you might receive an message saying there are no icons present - click okay.

13. Click browse and navigate to your firefox installation folder - select firefox.exe (the original) - then choose the top first icon and click ok, then ok again.

14. Right click the shortcut (which is now supposed to have the firefox icon) and choose “Pin to start menu”

15. Now click the windows “Start” button and you’ll see it (feel free to rename it).

Repeat those steps for firefox3!

Yay! :)
Chu Yeow - feel free to add this to your tutorial, and thanks for your great help with running both firefox2 and 3 alongside!

Posted by: Y Karmi on December 22, 2007 7am

Paper doll icon
A Fresh Cup » Blog Archive » Double Shot #88's Gravatar

[…] How to have Firefox 3 and Firefox 2 running at the same time - Useful if you don’t want to gamble too much. If you’re on a Mac remember to put the package in a folder somewhere so you don’t overwrite your Firefox 2 install. […]

Posted by: A Fresh Cup » Blog Archive » Double Shot #88 on December 28, 2007 9pm

Paper doll icon
joe's Gravatar

Thanks a bunch for the info, it works perfectly. Now how can I make this browser with this profile my default browser, so that if I click on links in my email client etc, it will bring it up in minefield with this profile?

Posted by: joe on January 21, 2008 5am

Paper doll icon
Aaman's Gravatar

Thank you so much for this wonderful tip!

Posted by: Aaman on February 14, 2008 1am

Paper doll icon
VP's Gravatar

Thanks, great tips!

Posted by: VP on February 14, 2008 5pm

Paper doll icon
Andrew Hedges's Gravatar

A problem I’ve run into is that now I can’t set my default browser to be Firefox 2. Each time I set it, the system sets it back immediately to Firefox 3b2. Any workaround for this?

Posted by: Andrew Hedges on February 15, 2008 4am

Paper doll icon
fireyy blog » MultiFireFox ???firefox??????'s Gravatar

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

Posted by: fireyy blog » MultiFireFox ???firefox?????? on February 24, 2008 1pm

Paper doll icon
??????, ??????, ???? ???? ??? » Blog Archive » ???????? 3 ??? 3's Gravatar

[…] ??? ????? ?? ????? ?? ???????? 2? ??, ?? ??, ???? ??????? ?????? ???????? :). ?????? ?????? ??? ?? ????????? ???? ???: […]

Posted by: ??????, ??????, ???? ???? ??? » Blog Archive » ???????? 3 ??? 3 on February 24, 2008 2pm

Paper doll icon
Firefox's Gravatar

More info about F3
http://megawallpapers.info/?p=1

Posted by: Firefox on February 25, 2008 3pm

Paper doll icon
Eric Nguyen's Gravatar

This worked great! A reminder that, in OS X, you have to use the path to the actual binary. So, for my Firefox:

/Applications/Firefox2.app/Contents/MacOS/firefox

I tried the path just to the .app, first, but that won’t work.

Posted by: Eric Nguyen on March 14, 2008 1pm

Paper doll icon
Its all about feeling good » Blog Archive » Install and Run FireFox 2 and 3 simultaneously's Gravatar

[…] Reference blog.codefront.net […]

Posted by: Its all about feeling good » Blog Archive » Install and Run FireFox 2 and 3 simultaneously on March 15, 2008 1pm

Paper doll icon
links for 2008-03-17 | horrocio.us's Gravatar

[…] How to have Firefox 3 and Firefox 2 running at the same time - redemption in a blog Firefox 3 and 2 running simultaneously - mac and windows! (tags: Firefox firefox3 HowTo Tips firefox2 OSX Windows testing webdesign webdev debugging browsers development) […]

Posted by: links for 2008-03-17 | horrocio.us on March 18, 2008 1am

Paper doll icon
| ????'s Gravatar

[…] ??3?4??????????Firefox3?Firefox2???????????? ????? How to have Firefox 3 and Firefox 2 running at the same time […]

Posted by: | ???? on March 21, 2008 7am

Paper doll icon
Dominic's Gravatar

Hi, thanks for this posting, it helped me try out FF3 besides FF2 on Mac.

Now, I just found this app that even makes it easier to run them:
http://www.dangerouslyawesome.com/2008/02/22/more-than-one-firefox-beta-to-rule-them-all-a-dave-martorana-concoction/

Posted by: Dominic on March 29, 2008 2am

Paper doll icon
trm96's Gravatar

Hmmm alls I had to do on my Mac (Leopard) is create a new and i ran the profile selector and i just choose the appropriate profile for the version of I launch. It is kind annoying to have select the profile form the profile manager but it works ok for me (I can run 2 instances of firefox.app at the same time). Just today however I decided to install FF3 on my windows boxx and I found I could not do the same thing as I did on my Mac. Thanks for the info, I now can run both FF2 and FF3 on both my Mac and my windows boxx!

Posted by: trm96 on April 6, 2008 4am

Paper doll icon
Drew's Gravatar

Thanks for the method! The new beta (beta 5 as I write) is actually looking good.

Posted by: Drew on April 9, 2008 5pm

Paper doll icon
From The Front-End » Firefox 3 and Firefox 2 windows media support's Gravatar

[…] Fortunately there is an excellent guide on getting both Firefox 2 and Firefox 3 running at the same time thanks to Hikikomori’s blog redemption in a blog […]

Posted by: From The Front-End » Firefox 3 and Firefox 2 windows media support on April 9, 2008 10pm

Paper doll icon
SeanG's Gravatar

Very helpful! Thanks!

You can also launch Firefox’s profile manager like this:
firefox.exe -ProfileManager

Posted by: SeanG on April 22, 2008 9pm

Paper doll icon
Emiel Mols's Gravatar

Hi,

Could you tell how you changed your dock item to pass the necessary arguments to the firefox3 binary? Thanks!

Emiel

Posted by: Emiel Mols on April 24, 2008 6am

Paper doll icon
Shazbot Blog » Blog Archive » How to have Firefox 3 and Firefox 2 running at the same time | redemption in a blog's Gravatar

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

Posted by: Shazbot Blog » Blog Archive » How to have Firefox 3 and Firefox 2 running at the same time | redemption in a blog on April 30, 2008 5am

Paper doll icon
jDavid.net “@” gmail.com's Gravatar

[…] my plug-ins break, I feel very web naked, which makes it hard to stay on the edge. You might try to install both FF2 and FF3b5 side by side so that you can dev in one, and play with the other, but you may not have success even if you […]

Posted by: jDavid.net “@” gmail.com on May 5, 2008 3am

You can subscribe to the RSS feed for comments on this post.

Post a comment

(required)

(required, but never displayed)


You can format your comments using XHTML. Your email address will not be displayed or used for nefarious purposes.

Only following tags are allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>