Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 3 balasan
  • 9 ada masalah ini
  • 16 paparan
  • Balasan terakhir oleh 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

Penyelesaian terpilih

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

Baca jawapan ini dalam konteks 👍 0

All Replies (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

Penyelesaian Terpilih

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.