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!

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

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

  • 3 odgovori
  • 9 ima to težavo
  • 16 ogledov
  • Zadnji odgovor od 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

Izbrana rešitev

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

Preberite ta odgovor v kontekstu 👍 0

Vsi odgovori (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

Izbrana rešitev

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.