Wednesday, February 16, 2011

Install and Run Firefox 3 and Firefox 4 on your Mac!

As a web developer I always try to test as many browsers as possible including new beta releases, just like Firefox 4. With that being said, I was not ready to let go of Firefox 3 and I wanted to know how to run both on my mac. I tried this once before but my plugins and settings went crazy because both Firefox installs were sharing the same profile. So today I decided to figure out a way of how to easily do this if possible and came across an article at tech-recipies.com (link at end of article) that gave me the answer. The quick steps are as follows:
  1. Download Firefox 4
  2. Click on the downloaded dmg file to open.
  3. Drag the Firefox Icon to your desktop. Do not drag to your applications folder as it will overwrite your Firefox 3 install.
  4. Select the Firefox Icon on your desktop and hit enter and rename it to anything, you can use Firefox 4 like I did.
  5. Drag the renamed application to the applications folder and now you should have something like below:



DO NOT START THE APPLICATION YET!
This is where we create a new profile so we can run Firefox 3 instance with our current profile and our new Beta version with a different profile.
  1. Open the Terminal
  2. type cd /Applications/Firefox.app/Contents/MacOS
  3. type to run the ProfileManager: ./firefox-bin -ProfileManager
  4. You should now see the following (except you will only have 1 profile)



  5. A few things to note here, make sure to un-check Don't ask at startup so you can always choose when you open up Firefox. If you don't do this both version will try to always run the selected profile. Click on Create Profile to create a new profile. As you can see I renamed my default profile to Firefox3 and created a new one called Firefox Beta 4. This was omitted from the original article which I wanted to add because this allows for your FF3 to run as you currently have with all your current bookmarks, add-ons, etc and for FF4 to run with a new profile which you can have its own set of bookmarks, add-ons etc.
Once all that is done you will be able to run both Firefox instances at the same time like displayed below.

The original article that helped me is :
http://www.tech-recipes.com/rx/2828/os_x_install_firefox_2_firefox_3_same_computer/

No comments:

Post a Comment