搜尋 Mozilla 技術支援網站

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

了解更多

on Mac startup, I need two Firefox windows to open with different tabs in each

  • 4 回覆
  • 1 有這個問題
  • 33 次檢視
  • 最近回覆由 Terry

more options

When I start my Mac, I'd like two Firefox windows to open with two different sets of startup tabs. Is this possible?

When I start my Mac, I'd like two Firefox windows to open with two different sets of startup tabs. Is this possible?

被選擇的解決方法

I don't use a home page but I want the same windows and tabs when I restart the browser. I leave the windows and tabs open when I exit the browser and have the setting "Open Previous Windows and Tabs". That is the first setting, at the top of the General page in Settings.

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

Yes. Set the home page so both links are entered with a | is between the links. Example: Google.com|Yahoo.com

https://support.mozilla.org/en-US/kb/how-to-set-the-home-page

more options

Using the pipe (|) symbol only works for tabs in the same window. For multiple windows you likely need to use a script file to be able to specify startup parameters with -new-tab and -new-window switched and URLs between them.

On Linux this would be this code and I assume that on Mac this will work as well. Make sure to set the executable flag on the file. You can find the Firefox installation path on the "Help -> More Troubleshooting Information" (about:support) page.

#!/bin/sh

cd <path to firefox>
./firefox --new-tab URL1 URL2 --new-window URL3 URL4

由 cor-el 於 修改

more options

Well, this is getting beyond my pay grade! But I appreciate the help!

more options

選擇的解決方法

I don't use a home page but I want the same windows and tabs when I restart the browser. I leave the windows and tabs open when I exit the browser and have the setting "Open Previous Windows and Tabs". That is the first setting, at the top of the General page in Settings.