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!

搜索 | 用户支持

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

详细了解

How to pass a url to firefox while bypassing profile manager

  • 1 个回答
  • 1 人有此问题
  • 14 次查看
  • 最后回复者为 the-edmeister

more options

I use a few different profiles and set the Profile Manager to come up on every program startup. So if an external application tries to send a url to the default browser, it will bring PM, and try to open a second instance of the selected profile. Usually that prof. would already be opened, so it won't open the new url. So I would like to have local web links sent to firefox bypassing the profile manager. I thought of a few possible solutions, but don't know how to implement any of them:

create a custom executable modified like the command line arguments "-P "default"". set it as the default browser.

create a shortcut with the same arguments (picking a profile) and a variable for urls. set a shortcut as a default app?

find an argument that opens a new window in the active instance/profile and a url variable

any idea?

I use a few different profiles and set the Profile Manager to come up on every program startup. So if an external application tries to send a url to the default browser, it will bring PM, and try to open a second instance of the selected profile. Usually that prof. would already be opened, so it won't open the new url. So I would like to have local web links sent to firefox bypassing the profile manager. I thought of a few possible solutions, but don't know how to implement any of them: create a custom executable modified like the command line arguments "-P "default"". set it as the default browser. create a shortcut with the same arguments (picking a profile) and a variable for urls. set a shortcut as a default app? find an argument that opens a new window in the active instance/profile and a url variable any idea?

所有回复 (1)

more options

An external application sending a URL to Firefox only works with the Default Browser in Windows set as Firefox, which will then use the Default =1 Profile as listed in the profiles.ini file. Trying to open the Profile Manager and then selecting a Profile doesn't work with an external application. It works best (/only?) by going thru the Profile Manager feature, without using the PM interface.

If the Default profile is already running, a new window should open with the "sent" URL.

And if you have another Profile running, you're not going to get the Default to open; it will tell you "Firefox is already running".

It is possible to open a Profile when another is already running, by using the -no -remote command, but that command line parameter won't work with the Default browser / Default Profile combo.

I might have a "solution" if I knew why you are using multiple Profiles.

If are interested in learning "how" to deal with running multiple Profiles, see this: http://forums.mozillazine.org/viewtopic.php?f=23&t=2821799 And at the bottom of that article are links to 4 previous version of that article. Keep in mind that all 5 of those articles were written from a different perspective than what you are asking about; multiple different Firefox installations, with multiple different Profiles, to allow a person to use Firefox Release smoothly, while "testing" the pre-release versions that will become a Firefox Release in the near future.

You'll need to "pick out" what applies to what you want to do when reading those postings, and forget about the multiple different Firefox versions. The "drill" as it pertains to Default / Default is basically the same, regardless of how many "Firefox" program installations you have.