為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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