Caută ajutor

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.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

Load url in running multiple firefox versions's tab through cmd

more options

I have launched multiple firefox version through following command. "\Program Files\Mozilla Firefox 18\firefox.exe" -profile "C:\f18" -no-remote "\Program Files\Mozilla Firefox31\firefox.exe" -profile "C:\f31" -no-remote Both versions are running, now I want to load a url in tab of both versions through cmd. Currently I am unable to do so. I have tried almost every flag/ command, documented by Mozilla. e.g. "\Program Files\Mozilla Firefox18\firefox.exe" -profile "C:\f18" -remote "openURL(http://example.com, new-tab)" "\Program Files\Mozilla Firefox18\firefox.exe" -remote "openURL(http://example.com, new-tab)" "\Program Files\Mozilla Firefox18\firefox.exe" -profile "C:\f18" -remote "openURL(http://example.com, new-tab)" Everytime I was encountered with an error due to parent.lock or another new windows (with new process) appeared. - - - - - - - - - - - - I want to open url in tabs of running Mozilla Firefox versions. Please correct me if I am doing wrong or guide me how can I solve this problem, Thanks

I have launched multiple firefox version through following command. "\Program Files\Mozilla Firefox 18\firefox.exe" -profile "C:\f18" -no-remote "\Program Files\Mozilla Firefox31\firefox.exe" -profile "C:\f31" -no-remote Both versions are running, now I want to load a url in tab of both versions through cmd. Currently I am unable to do so. I have tried almost every flag/ command, documented by Mozilla. e.g. "\Program Files\Mozilla Firefox18\firefox.exe" -profile "C:\f18" -remote "openURL(http://example.com, new-tab)" "\Program Files\Mozilla Firefox18\firefox.exe" -remote "openURL(http://example.com, new-tab)" "\Program Files\Mozilla Firefox18\firefox.exe" -profile "C:\f18" -remote "openURL(http://example.com, new-tab)" Everytime I was encountered with an error due to parent.lock or another new windows (with new process) appeared. - - - - - - - - - - - - I want to open url in tabs of running Mozilla Firefox versions. Please correct me if I am doing wrong or guide me how can I solve this problem, Thanks

Soluție aleasă

The -no-remote command-line switch does not allow you to use -remote (as the name implies). That took effect in Firefox 9 (see https://developer.mozilla.org/docs/Mo.../Command_Line_Options#-no-remote).

Could you test starting Firefox with the new (not well documented) -new-instance switch instead of -no-remote and see whether that works? That was added in Firefox 13.

Citește acest răspuns în context 👍 0

Toate răspunsurile (7)

more options

Soluție aleasă

The -no-remote command-line switch does not allow you to use -remote (as the name implies). That took effect in Firefox 9 (see https://developer.mozilla.org/docs/Mo.../Command_Line_Options#-no-remote).

Could you test starting Firefox with the new (not well documented) -new-instance switch instead of -no-remote and see whether that works? That was added in Firefox 13.

more options

Hello

firefox.exe -new-tab https://support.mozilla.org/en-US/questions/1028069

(your question is in the above url)

any luck ?


thank you

more options

Thanks jscher2000 for quick reply, -new-instance was not documented yet. But here is a case I have launched Firefox version 5 with following command. "\Program Files\Mozilla Firefox5\firefox.exe" -new-instance "\Program Files\Mozilla Firefox30\firefox.exe" -new-instance and with "\Program Files\Mozilla Firefox5\firefox.exe" -profile "C:\f5" -new-instance "\Program Files\Mozilla Firefox30\firefox.exe" -profile "C:\f30" -new-instance I can only see single version executing through process monitor. While threads were created each time when I executed these commands.

more options

Need pre running multiple firefox version at the same time too. I think it's not possible to launch another instance of firefox (version 9 or less) without using -no-remote. Let's say we have two version running (each version has separate process not thread), now how can I load them url into it's tab using command line.

more options

Here is my understanding:

Firefox < 9 you can use -no-remote as you originally described.

Firefox 9-12 you are out of luck

Firefox 13+ you can use -new-instance

But... why on earth do you care about such old versions of Firefox?

more options

So currently we are not able to perform this action with these versions of firefox with or without -no-remote flag?

more options

Hi IstyloMax, I don't know what you mean by "currently". Do you mean in Firefox 33? In theory you should be able to start separate instances using -new-instance and send them commands using -remote. However, I've never tried it myself.

Maybe there is a better forum for this kind of question?