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

搜索 | 用户支持

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

详细了解

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

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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.