Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

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

  • 3 respostas
  • 9 têm este problema
  • 16 visualizações
  • Última resposta por 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

Solução escolhida

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

Ler esta resposta no contexto 👍 0

Todas as respostas (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

Solução escolhida

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.