搜尋 Mozilla 技術支援網站

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

Learn More

starting firefox twice

  • 1 回覆
  • 2 有這個問題
  • 34 次檢視
  • 最近回覆由 guigs

more options

I want to supply the user a shortcut, thats starts Firefox (not the default browser) and a url as parameter.

The solution above works fine, except if there is already a firefox session running. You wil get an Firefox message telling you to shutdown Firefox and try it again.

I found a way around this by adding a firefox profile and adding -P Profilename -no-remote. This workarount works, but not 100% fool proof. For example, a user starts my shortcut, browses away from the site I configured in my shortcut and he starts my shortcut again. The custom profile is in this example already in use, and he will receive the Firefox message we started with.

Is there someone who nows a way to work around this?

Thanks in advanced

Kind regarts

Oscar van Aalten

所有回覆 (1)

more options

A profile can only run in one instance of Firefox. You cannot open another instance of Firefox with a different profile unless it is a different installation of Firefox.