为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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 .

被采纳的解决方案

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

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

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