Are you a developer looking for a method that actually works to run multiple copies of Firefox on their Mac? Well I and many others out there used to be able to do this back in the days of OSX Lion but Apple changed things over the years and made it seemingly impossible to run multiple copies of Firefox at the same time. You are wasting your time if you think any of the other solutions and tutorials out there to overcome this actually work, because they don’t and that’s why you ended up here.
A lot of developers like myself need multiple browsers on their desktop, not only for testing web sites but also to have their daily open tabs laid out in front of them all nicely. Firefox is of course the only browser that supports side or tree style tabs which really kicks any other browser in the backside as far as ease of usability goes and which is why a lot of developers like to use Firefox for their daily tasks and need to be able to run multiple copies of Firefox.
But if you are like me and manage anywhere upwards of 20-30 wordpress sites, that already takes up one whole browser. Add to that all my servers administrative interfaces and a bunch of other things I need open in front of me every day and suddenly one browser is simply not enough. Resorting to using other browsers which do not support side tabs is just a pain to say the least.
Well, of all the solutions out there on how to run multiple copies of Firefox on OSX, none of them work. I sat down last year and spent nearly 4 full days figuring this out (I’m a persistent bugger) because it annoyed the hell out of me and my solution to run multiple copies of Firefox on OSX works 100% and works on OSX Yosemite, OSX Mavericks, OSX El-Capitan and even macOS Sierra.
So here we go with the ultimate tutorial to crack past OSX’s restrictions of running multiple copies of Firefox at the same time.
I run 4 different and independent versions of Firefox. One is for all my WordPress sites, One is for all my server related work, One is for my general browsing and the final one is for opening Risky sites which I use to test for bad web sites which get included in my Nginx Bot Blocker. So in this tutorial I am going to show you how to set up 4 versions of Firefox, each with their own profile, their own set of open tabs and they of course are all the same version, can run side by side simultaneously and they all update independently of each other. This is also good because you may have a Firefox extension in one browser that you do not need in another and my solution takes care of all of that.
So ready steady go …. here we go.
Step 1 to run multiple copies of Firefox
- Browse to your Applications folder and find your Firefox.app
- Right click on Firefox.app and Select Copy
- Go to your desktop, right click and select Paste
- Rename this application to FirefoxDeveloper.app
- Right click on FirefoxDeveloper.app
- Browse to your Applications folder and Paste it back there.
- Do the same process now for the rest of them, in my case the others are called FirefoxServers.app and FirefoxRisky.app
Step 2 to run multiple copies of Firefox
- Okay so now you want them all to have fancy icons so that they appear differently on your OSX dock
- That is now easy, go to this site and pick a few icons you like, make sure to download the .icns version of the file
- Go to your documents folder on OSX and make a folder called FIREFOX
- Place all your .icns files in the FIREFOX folder you created.
- Double click on the icon file you want to use and it will open in preview
- Select EDIT > Copy
Step 3 to run multiple copies of Firefox
- Now go back to your applications folder and right click on one of the new apps you created for instance FirefoxDeveloper.app
- Select GET INFO
- Click on the small icon in the top left of the Get Info windows and select EDIT > PASTE from the Finder menu
- Close the Get Info window.
Step 4 to run multiple copies of Firefox
- Ok so now that new application called FirefoxDeveloper.app has a nice WordPress icon. This is the app I use for managing all my WordPress sites.
- Repeat the same process above for your other application copies of Firefox that you created so that they all have their own individual COOL icons.
- So now your applications folder will look more like mine with each app having its own cool icon.
- Okay so now we get a little more complicated because there still is no way to run multiple copies of Firefox, you can prove this by opening your main Firefox.app and then after that trying to open one of your new ones and you will get a nasty error message like below.
Step 5 to run multiple copies of Firefox
- Dang it … what do we do now?
- Here comes the slightly more complicated part of this tutorial but work through it slowly and pay attention to each step and soon you will have 4 or more independent copies of Firefox running at the same time.
- Make sure Firefox is closed and then
- Open the Firefox Profile Manager by open Terminal and typing “/Applications/Firefox.app/Contents/MacOS/firefox-bin -P” and press Enter
- This brings up the Firefox profile Manager
- Create 3 new profiles as I have done in the screen shot below
Step 6 to run multiple copies of Firefox
- Okay so now we have a profile for each of our new Firefox application copies that we created earlier.
- Now you remember we created a folder called FIREFOX in our Documents folder on OSX where we placed our .icns files.
- Now are going to create 3 special launchers for each application using OSX Automator
- Click on Spotlight and type Automator and open the Automator application
Step 7 to run multiple copies of Firefox
- Click “Create New Document” and when Automator opens choose “Application” as the type of project you want to create.
Step 8 to run multiple copies of Firefox
- In this case we are creating the first launcher for our FirefoxDeveloper.app.
- Drag “run shell script” to the right hand windows and copy the code for running the application, NOTE: you must specify the correct path and the correct profile name to open when using this launcher. In this case my app is called FirefoxDeveloper.app and the profile it must open is called “developer” – See the screen shot below. In my case I have 3 launchers each with their own different command line script as follows:
- open -n /Applications/FirefoxServers.app –args -P servers -no-remote | open -n /Applications/FirefoxDeveloper.app –args -P developer -no-remote | open -n /Applications/FirefoxRisky.app –args -P risky -no-remote
Step 9 to run multiple copies of Firefox
- Now save this application in Documents/FIREFOX/FFDeveloper.app
- Do the same steps for your other copies creating a separate launcher for each one as you can see in my screen grab below.
Step 10 to run multiple copies of Firefox
- Now repeat the process from earlier on (Step 2 and 3) to give each launcher it’s own individual cool icon which matches the icon you used for each of the application copies you made earlier.
- Keep in mind now we are dealing with different entities here, 3 application copies of Firefox located in the /Applications folder and 3 Launchers we created using Automator located in /Documents/FIREFOX/launcher.app
- When you have all 3 launcher icons changed we can now move into the next and final step.
- Drag the folder /Documents/FIREFOX/ to the right hand bottom side of your dock as in the image below.
Step 11 to run multiple copies of Firefox
- Now to final steps on how to get your individual Firefox applications to run simultaneously.
- One by One click the folder icon you dragged to your dock and open just ONE of the new apps at a time.
- When it opens, right click on it and choose Options > Keep in Dock
- Here’s what it looks like now with all 3 of your launched versions of Firefox pinned to the Dock
Step 12 to run multiple copies of Firefox
- Okay so now you can drag those to anywhere on your dock you like. In my case I have all 4 of my icons next to each other as in the image below.
Step 13 to run multiple copies of Firefox
- As you can see in the above image I have all 4 applications pinned next to year, all identifiable by their own custom icon and all running at the same time.
- There is now however a VERY IMPORTANT method for launching the apps and without following this you will get the dreaded message “A copy of Firefox is Open”
- OK … so everyday when your work day begins you start by first opening your main Firefox.app
- Thereafter you launch each other individual application copy using the launcher folder on the right hand side of your dock, the image below explains this easily for you and proves without the shadow of a doubt that you can indeed run multiple copies of Firefox on MacOS all at the same time and that you have NOT wasted your time working through this tutorial.
Now you can finally get back to work and have 4 or more individualized copies of Firefox all running at the same time. As mentioned earlier each copy will update itself and it’s plugins if its open when a new update is pushed out. To keep all of them updated you can from time to time just check if there is an update available in each running copy and then update it manually. There really is no limit and you can create as many copies of Firefox you like using my method, I find 4 to be more than ample for all my work though.
I’ve been using this solution for the past 5 months now and it is beautiful and works like a charm and I am now running macOS Sierra 10.12.3 and it’s all still working 100% ….. APPLE PLEASE DON’T FICKIN BREAK THIS AGAIN !!!!
ENJOY PEOPLE !!!!
COPYRIGHT PLEASE NOTE: This method, this tutorial and all images contained within it are copyright to me and this web site only. This tutorial may not be copied, disseminated or distributed in any form whatsoever without prior written permission from me. Any tutorial site wishing to share this solution may share only direct a link to this page with a brief description of what the tutorial is about.