This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

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

  • 2 replies
  • 1 has this problem
  • 2 views
  • Last reply by 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!

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