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

搜索 | 用户支持

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

详细了解

Opening a blank tab using -new-tab command

  • 1 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 zeroknight

more options

I want to use a command option to open a new blank tab in a specified portable instance of Firefox using a specified profile.

I constructed my command like this:

"Path-to-Firefox-executable" -profile "Path-to-Profile" -new-tab "about:blank"

It partially works (it opens the correct instance of Firefox and uses the correct specified profile) however it always opens about:newtab instead of about:blank.

Seeing as I am specifying the exact page to open, any New Tab settings in the browser should not matter, and I should just get the page that has been specified in the command.

If I manually type about:blank into the url bar, then a blank page opens as expected, so the url is correct, it just won't work for me as part of the above command line.

Does anybody else have this issue? How can I get this to work correctly?

I want to use a command option to open a new '''blank''' tab in a specified portable instance of Firefox using a specified profile. I constructed my command like this: "Path-to-Firefox-executable" -profile "Path-to-Profile" -new-tab "about:blank" It partially works (it opens the correct instance of Firefox and uses the correct specified profile) however it always opens ''about:newtab'' instead of ''about:blank''. Seeing as I am specifying the exact page to open, any New Tab settings in the browser should not matter, and I should just get the page that has been specified in the command. If I manually type about:blank into the url bar, then a blank page opens as expected, so the url is correct, it just won't work for me as part of the above command line. Does anybody else have this issue? How can I get this to work correctly?

由Quisquose于修改

所有回复 (1)

more options

It works for me with 115 ESR and 120 on Linux, maybe try:

firefox about:blank