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!

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

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

  • 2 respostas
  • 15 têm este problema
  • 20 visualizações
  • Última resposta de johnny.michiels

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 .

Solução escolhida

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

Ler esta resposta 👍 0

Todas as respostas (2)

more options

Solução escolhida

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