搜尋 Mozilla 技術支援網站

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

Learn More

command line firefox "Open all in tabs"

  • 3 回覆
  • 0 有這個問題
  • 24 次檢視
  • 最近回覆由 cor-el

more options

I start Firefox from a batch file (Win7) on the first boot of the day. Manually I choose my "NEWS" bookmarks folder, then slide down to "Open all in tabs". (attached image) (Then I go pour a coffee while the news article tabs open and load data!)

Please and thank you, is there a way to specify this action from the command line? And if so, what is it?

I believe that I could use such a mechanism in other ways, such as opening all tabs in my "Forums" folder of bookmarks, or on Mondays, opening all tabs in my "Weekly" bookmarks folder.

Thank You, Chris

I start Firefox from a batch file (Win7) on the first boot of the day. Manually I choose my "NEWS" bookmarks folder, then slide down to "Open all in tabs". (attached image) (Then I go pour a coffee while the news article tabs open and load data!) Please and thank you, is there a way to specify this action from the command line? And if so, what is it? I believe that I could use such a mechanism in other ways, such as opening all tabs in my "Forums" folder of bookmarks, or on Mondays, opening all tabs in my "Weekly" bookmarks folder. Thank You, Chris
附加的畫面擷圖

所有回覆 (3)

more options

According to the list of command line options it is possible to open websites automatically in different tabs. However not from a saved bookmarks folders. Rather you will have to give the url manually in the command line

  1. Create a shortcut on desktop say First Launch or whatever suits you
  2. In the command line give the following command
                            firefox -new-tab news.google.com news.yahoo.com www.nytimes.com

Replace news.google.com news.yahoo.com and so on with your news websites. For details on the available command line options please refer to the Wiki Page

The work around is as follows

  1. At the end of day close all the open tabs and open the News folder.
  2. Go to Settings > General > Startup and select the option Open previous windows and tabs. Please see the attached screenshot for more details. The option to be checked is circled in red.
  3. Close the browser
  4. Next day come and open the browser.

If you wish you can pair the above 4 steps with a separate firefox profile and create a profile shortcut on Windows Desktop. Only make sure that the first step given in the workaround is done without fail.

Hope this helps.

有幫助嗎?

more options

ixian said

According to the list of command line options it is possible to open websites automatically in different tabs. However not from a saved bookmarks folders. Rather you will have to give the url manually in the command line

Ixian, thank you for your informative reply. Gmail/TBird is messing around with emails so I lost your response for a while.

I am using 115.9.1 Firefox ESR , and have worked partway through your solutions. I will report back in a few days with my results. Thanks again Chris

有幫助嗎?

more options

Note that you may have to use a CMD (or BAT) file with the start command in case you exceed the maximum length allowed in the target line of a desktop shortcut.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題