搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do I use different default profiles with different instances of Firefox on Mac?

  • 2 回覆
  • 1 有這個問題
  • 4 次檢視
  • 最近回覆由 cor-el

more options

Hello, I am doing automated browser testing with Sahi and I need to have multiple instances of a browser on my Mac at different browser versions, mainly since I don't have multiple Macs available.

So I followed this link: http://lostechies.com/scottreynolds/2009/08/12/mac-os-x-tip-install-two-versions-of-the-same-app-or-run-two-instances/ and now I have a copy of Firefox 12.0 and a copy of Firefox 19.0 on my Mac.

But I want Firefox 19 to update automatically and Firefox 12 to never update. But they're sharing the same user profile settings so if I set one, it will affect the other.

What I want is to be able to have both instances installed, have multiple profiles installed for a user, and have v19.0 use one (A) by default with the updates turned on, and have v12.0 with the other (B) with the updates turned off.

Is there a way to do this?

Hello, I am doing automated browser testing with Sahi and I need to have multiple instances of a browser on my Mac at different browser versions, mainly since I don't have multiple Macs available. So I followed this link: http://lostechies.com/scottreynolds/2009/08/12/mac-os-x-tip-install-two-versions-of-the-same-app-or-run-two-instances/ and now I have a copy of Firefox 12.0 and a copy of Firefox 19.0 on my Mac. But I want Firefox 19 to update automatically and Firefox 12 to never update. But they're sharing the same user profile settings so if I set one, it will affect the other. What I want is to be able to have both instances installed, have multiple profiles installed for a user, and have v19.0 use one (A) by default with the updates turned on, and have v12.0 with the other (B) with the updates turned off. Is there a way to do this?

所有回覆 (2)

more options

Hi,

You should be able to do this by using the profile manager, and running two different profiles for each setup. By selecting what you sync between them, you should be able to import all your bookmarks and history without also importing all the settings. Have a look at this page in the knowledge base.

HTH,

Ian.

more options

You need to add -P profile to the command line to make sure to start each Firefox version with its own profile. Easiest to do this is to use a (bash) shell script to launch Firefox.

If you want to run multiple versions at the same time then add the -no-remote switch


I use code like this on Linux, but it should work on Mac with the proper installation path and profile name as shown in the Profile Manager.

#!/bin/sh

cd /Applications/Firefox-XX.app/Contents/MacOS/
./firefox -no-remote -P test-XX

由 cor-el 於 修改