We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜尋 Mozilla 技術支援網站

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

了解更多

How can I use multiple concurrent profiles without breaking Windows' default HTML handler?

  • 3 回覆
  • 9 有這個問題
  • 39 次檢視
  • 最近回覆由 Morbus

more options

I have two Firefox icons, one with the '-p "MyProfile" -no-remote' options, and one with the '-p "MyGirlfriendsProfile" -no-remote' options. This works great; we both have out separate pages logged in with no conflict. However, when I click a link or HTML file in any other program, Windows tries to launch a new process rather than loading the target in one of the two running ones, and I get the "Firefox is already running..." error. I found the registry key "HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\command" which provides the parameters for handling Firefox-associated targets, and tried adding '-P "MyProfile" -no-remote' to it, but that doesn't work.

Is there any way I can get Windows 7 to open links/files in my profile in the process that's already running?

This happened

Every time Firefox opened

== I started using separate profiles

I have two Firefox icons, one with the '-p "MyProfile" -no-remote' options, and one with the '-p "MyGirlfriendsProfile" -no-remote' options. This works great; we both have out separate pages logged in with no conflict. However, when I click a link or HTML file in any other program, Windows tries to launch a new process rather than loading the target in one of the two running ones, and I get the "Firefox is already running..." error. I found the registry key "HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\command" which provides the parameters for handling Firefox-associated targets, and tried adding '-P "MyProfile" -no-remote' to it, but that doesn't work. Is there any way I can get Windows 7 to open links/files in my profile in the process that's already running? == This happened == Every time Firefox opened == I started using separate profiles

被選擇的解決方法

You can't send a link from an external program to a Firefox instance that is started with the -no-remote switch. That switch makes that Firefox instance invisible (undetectable) for other programs. A workaround is to drag the link in that Firefox browser window. You only need to use the -no-remote switch if you need to have both profiles open at the same time and I assume that that won't happen in your case unless you leave Firefox open and running all the time.

See also http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

Hello Pascal.

I don't know if this is a solution for your problem (probably not), but the way I manage my Firefox profiles is I have a shortcut that goes firefox.exe" -profilemanager . When I open it, it opens the inbuilt profile manager, and I work with it.

You may also want to consider the possibility of using different user accounts in your computer to separate each workspace and get rid of these issues from the root. Separate workspaces are, in my experience, the best thing for when a computer is used by more than one person.

more options

選擇的解決方法

You can't send a link from an external program to a Firefox instance that is started with the -no-remote switch. That switch makes that Firefox instance invisible (undetectable) for other programs. A workaround is to drag the link in that Firefox browser window. You only need to use the -no-remote switch if you need to have both profiles open at the same time and I assume that that won't happen in your case unless you leave Firefox open and running all the time.

See also http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

more options

Thanks for the link cor-el.

I simply removed no-remote for the shortcut to my profile of Firefox, making it the default link handler and all is well.

Thanks for the help.