Opening links from other applications when there are multiple Firefox instances with different profiles?
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)
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.
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.