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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

command line firefox "Open all in tabs"

  • 3 respostas
  • 0 have this problem
  • 1 view
  • Last reply by 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
Capturas de pantalla anexas

All Replies (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.