We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

I want to open firefox with a few tab, but not the home's one, I do it with IE using script, but don't know how to do it with Firefox

more options

with IE this script work : var navOpenInBackgroundTab = 0x1000; var oIE = new ActiveXObject("InternetExplorer.Application"); oIE.Navigate2("http://trafiroutes.wallonie.be/trafiroutes/Redirect.do?form=framed/carte"); oIE.Navigate2("http://mobilis.touring.be/info-trafic/index.aspx?extlg=fr", navOpenInBackgroundTab); oIE.Navigate2("http://www.tomtom.com/livetraffic?Lid=13", navOpenInBackgroundTab); oIE.Navigate2("http://www.meteo.be/meteo/view/fr/211797-Belgique+Europe+Monde.html", navOpenInBackgroundTab); oIE.Visible = true;

I want to do the same, but with Firefox Thank you .

with IE this script work : var navOpenInBackgroundTab = 0x1000; var oIE = new ActiveXObject("InternetExplorer.Application"); oIE.Navigate2("http://trafiroutes.wallonie.be/trafiroutes/Redirect.do?form=framed/carte"); oIE.Navigate2("http://mobilis.touring.be/info-trafic/index.aspx?extlg=fr", navOpenInBackgroundTab); oIE.Navigate2("http://www.tomtom.com/livetraffic?Lid=13", navOpenInBackgroundTab); oIE.Navigate2("http://www.meteo.be/meteo/view/fr/211797-Belgique+Europe+Monde.html", navOpenInBackgroundTab); oIE.Visible = true; I want to do the same, but with Firefox Thank you .

Chosen solution

You can do that with command line arguments, for details see either of these links:

Read this answer in context 👍 0

All Replies (2)

more options

Chosen Solution

You can do that with command line arguments, for details see either of these links:

more options

Thank you for your Help TonyE

with this :

"D:\Program Files\Mozilla Firefox\firefox.exe" -new-window "https://developer.mozilla.org" "D:\Program Files\Mozilla Firefox\firefox.exe" -new-tab "https://developer.mozilla.org" -new-tab "https://developer.mozilla.org" -new-tab "https://developer.mozilla.org"

It first open a new windows and the add 3 tab inside .

Cool . Have a nice day