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!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Open homepages when Firefox first starts, but blank page in new window

  • 3 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi cs19122005

more options

Hi!

So I switched from Chrome, and there is one thing that keeps annoying me: the homepage and new window behavior.

In Chrome, you could define your pages that load when first launching the browser, but when you open a new window, it would default back to an empty page. This is the behavor that I want.

In Firefox, I only found the solution with setting the browser.startup.page option to 0, so new windows open with a blank page while you could still edit your homepages. But here, I would have to click the homepage button each time I initially start the browser. This is quite annoying, since it would always be an extra step when launching the browser.

Could anyone help me get the behavior like in Chrome? I want Firefox to open my homepages on startup, but use empty pages when it's already open.

Hi! So I switched from Chrome, and there is one thing that keeps annoying me: the homepage and new window behavior. In Chrome, you could define your pages that load when first launching the browser, but when you open a new window, it would default back to an empty page. This is the behavor that I want. In Firefox, I only found the solution with setting the browser.startup.page option to 0, so new windows open with a blank page while you could still edit your homepages. But here, I would have to click the homepage button each time I initially start the browser. This is quite annoying, since it would always be an extra step when launching the browser. Could anyone help me get the behavior like in Chrome? I want Firefox to open my homepages on startup, but use empty pages when it's already open.

Tất cả các câu trả lời (3)

more options

Unfortunately, there's no way to exactly emulate what Chrome does. Customary workarounds include:

(A) Using Pinned Tabs for sites you want to open at startup. See: Pinned Tabs - keep favorite websites open and just a click away.

Pinned Tabs are saved in session history files, so setting Firefox to flush history when it closes probably is incompatible with this feature, if you do that.

(B) Modifying the Firefox shortcut.

Maybe this is only a Windows thing, but you can add URLs to the command line, for example:

"C:\Program Files\Mozilla Firefox\firefox.exe" -url https://www.example.com/ -url https://support.mozilla.org/

The other approaches all appear to require manual action, unless there's an add-on that can take care of it.

more options

Note that the OP is using Linux where you can use a bash script to launch Firefox.

#!/bin/sh

# cd to Firefox installation folder and start via ./firefox
cd /usr/local/mozilla/firefox
./firefox -url <url1> -url <url2>

more options

cor-el said

Note that the OP is using Linux where you can use a bash script to launch Firefox.
#!/bin/sh

# cd to Firefox installation folder and start via ./firefox
cd /usr/local/mozilla/firefox
./firefox -url <url1> -url <url2>

Seems this is the way to go. Does anyone know if it's possible to edit the command for the firefox shortcut in the dock/startmenu?