Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

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

了解更多

Startup behavior versus new window

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 alexsoko

more options

I am trying to emulate the expected behavior I have from Chromium based browsers. I want my two email accounts to open on startup but then when I open a new window, for just the blank tab to open (Firefox home). There doesn't seem to be a way to do that. I can make them my "home" pages so that they load on startup, but then when I open a new window, it opens both of my home pages as tabs in that new window. Any help? See attached screenshot, is there something I'm missing or is this behavior just not possible in Firefox?

I am trying to emulate the expected behavior I have from Chromium based browsers. I want my two email accounts to open on startup but then when I open a new window, for just the blank tab to open (Firefox home). There doesn't seem to be a way to do that. I can make them my "home" pages so that they load on startup, but then when I open a new window, it opens both of my home pages as tabs in that new window. Any help? See attached screenshot, is there something I'm missing or is this behavior just not possible in Firefox?
附加的畫面擷圖

被選擇的解決方法

Hi alexsoko, Firefox doesn't have separate settings for startup page and home pages, as you discovered. Two common workarounds are:

(A) Pinned tabs

If you "pin" the two email tabs, they will be restored at startup (assuming you don't delete history at shutdown). More info on this feature: Pinned Tabs - keep favorite websites open and just a click away.

(B) Customized shortcut

This is based on Windows and I don't know how "shortcuts" work on Linux

Your Firefox shortcut command line can be modified with URLs to open when you launch it.

For example, if you right-click the shortcut and click Properties, then the Shortcut tab, the "Target" field usually looks similar to this:

"C:\Program Files\Mozilla Firefox\firefox.exe"

You can add on URLs like this:

"C:\Program Files\Mozilla Firefox\firefox.exe" -url "https://mail.google.com/mail/#inbox" -url "https://outlook.live.com/mail/"

Hopefully one of those will be useful.

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

所有回覆 (3)

more options

選擇的解決方法

Hi alexsoko, Firefox doesn't have separate settings for startup page and home pages, as you discovered. Two common workarounds are:

(A) Pinned tabs

If you "pin" the two email tabs, they will be restored at startup (assuming you don't delete history at shutdown). More info on this feature: Pinned Tabs - keep favorite websites open and just a click away.

(B) Customized shortcut

This is based on Windows and I don't know how "shortcuts" work on Linux

Your Firefox shortcut command line can be modified with URLs to open when you launch it.

For example, if you right-click the shortcut and click Properties, then the Shortcut tab, the "Target" field usually looks similar to this:

"C:\Program Files\Mozilla Firefox\firefox.exe"

You can add on URLs like this:

"C:\Program Files\Mozilla Firefox\firefox.exe" -url "https://mail.google.com/mail/#inbox" -url "https://outlook.live.com/mail/"

Hopefully one of those will be useful.

more options

Both of these were pretty close to the desired behavior so I consider this solved! I ended up creating a desktop launcher for what I wanted and pinning it to the bottom panel using the linux version of the second thing you suggested (in linux the command that gets passed to the terminal is just: firefox https://mail.google.com/mail/u/0/#inbox https://mail.google.com/mail/u/1/#inbox). The pinned tabs worked well too, but could annoyingly be unpinned just by clicking and dragging which is too easy for me to accidentally do if I'm dragging something to a new window that is near the pinned tabs in its original window.

more options

Both were pretty close so I consider this solved! The second solution was actually a bit closer to what I wanted as pinned tabs can be unpinned possibly accidentally just by dragging. I just created a launcher for firefox that passed the command: "firefox https://mail.google.com/mail/u/0/#inbox https://mail.google.com/mail/u/1/#inbox" which launches firefox with those two tabs open and pinned them to my bottom launcher. Thanks for your help in leading me in the right direction!