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!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Opening links from other applications when there are multiple Firefox instances with different profiles?

  • 2 个回答
  • 1 人有此问题
  • 23 次查看
  • 最后回复者为 cor-el

more options

I have multiple Firefox profiles for different purposes. Often, I have at least two instances of Firefox running at the same time.

When opening links from other applications, I would like to be able control in which profile the link should be opened. If there's already an instance with that profile open, the link would be opened there, otherwise a new Firefox instance with that profile would be created and the link opened in it. This is what I would like to achieve ideally.

Currently I only understand two options, both of which in the end do not work for me well:

1) I have one Firefox instance without the -no-remote option open. Then any link from another application will be opened in this instance

2) All Firefox instances were started with -no-remote. This is actually very close to the desired behavior. Now, after clicking the link in an application, the Firefox profile manager pops up and I can select the profile I want the link to be opened in. However, currently only profiles that don't already have an instance running can be selected. If there's already an instance with that profile, I get the following error: Firefox cannot use the profile "my_profile" because it is in use.

If I could just "trick" the profile manager not to try to open a new instance when it already exists, but instead just open the link in this existing instance, I would have exactly the functionality that I want. Any ideas how to go about this?

There have been questions addressing the similar problems before, but without any definitive answers: https://support.mozilla.org/en-US/questions/999493?page=1

Any input is appreciated!

I have multiple Firefox profiles for different purposes. Often, I have at least two instances of Firefox running at the same time. When opening links from other applications, I would like to be able control in which profile the link should be opened. If there's already an instance with that profile open, the link would be opened there, otherwise a new Firefox instance with that profile would be created and the link opened in it. This is what I would like to achieve ideally. Currently I only understand two options, both of which in the end do not work for me well: 1) I have one Firefox instance without the -no-remote option open. Then any link from another application will be opened in this instance 2) All Firefox instances were started with -no-remote. This is actually very close to the desired behavior. Now, after clicking the link in an application, the Firefox profile manager pops up and I can select the profile I want the link to be opened in. However, currently only profiles that don't already have an instance running can be selected. If there's already an instance with that profile, I get the following error: Firefox cannot use the profile "my_profile" because it is in use. If I could just "trick" the profile manager not to try to open a new instance when it already exists, but instead just open the link in this existing instance, I would have exactly the functionality that I want. Any ideas how to go about this? There have been questions addressing the similar problems before, but without any definitive answers: https://support.mozilla.org/en-US/questions/999493?page=1 Any input is appreciated!

所有回复 (2)

more options

Quit using the Profile Manager to select the Profile that you want to launch - provide the Profile name in a desktop for that Profile. Don't use -no-remote with the "default" Profile; as shown in the profiles.ini file - [Default=1].

http://forums.mozillazine.org/viewtopic.php?f=23&t=2821799 Make sure you view the hyperlinked earlier versions of that posting for additional information.

more options

You can only open a link directly in a Firefox instance that runs without the -no-remote switch.

You can drag the link to empty space or the plus button on the Tab bar of a specific Firefox instance to open the link. Hover the link on the task bar until the Firefox window opens and gets focus.