MacOS – Run multiple instances of the same version of Firefox with different profiles simultaneously

firefoxmacos

I have an existing installation of Firefox. I've been using this installation for a long time so theres a lot of data (history, bookmark, browser preferences, addon preferences).

Now I want to split this data (browser history, bookmarks, some settings) with the result that some data is only accessable by instance #1 and the other data is only accessable by instance #2. I know that I have to delete most unwanted data manually but thats ok.

My first thought was to clone the profile but I figured out that there are many spots where the actual profile name is hardcoded. The second possibility I see is that I add another installation of the same Firefox version to my system and transfer the profile to the new installation.

Is there a way to do that? Or is there an alternative solution?

Best Answer

Your question is asking for something technically possible, in that it may be possble to "split" data in your profile, and distribute it among other profiles, but it sounds incredibly difficult to do considering what you would you gain doing this manually, as opposed to simply setting up new profiles and entering the data you wish into each new profile, and deleting the data from the other profile.

To accomplish everything you're asking for (except this splitting of the original profile data) is largely academic. The basic idea is have multiple profiles, and have multiple instances of Firefox each accessing a different profile. The way you do that is you first set up the multiple profiles, and you can do this by accessing the Profile Manager. Open your /Applications/Utilities/Terminal.app and type this at the command prompt:

 /Applications/Firefox.app/Contents/MacOS/firefox-bin -profilemanager &

and the window that appears, along with information at the link provided above, will get you started on creating the extra profiles. Once these profiles are created, you can start the first instance of Firefox by clicking the Start Firefox button, and you can then launch your subsequent instances of Firefox using that same command. Again, in Terminal.app type the following:

 /Applications/Firefox.app/Contents/MacOS/firefox-bin -profilemanager &

and you will see a second instance of Firefox appear in your dock. Choose the profile you wish for the second Firefox instance, and click Start Firefox. Repeat these steps (pressing the up arrow will display the last command) for as many instances of Firefox that you wish to run, or until you run out of memory.