Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 3 ответа
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от 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.

Все ответы (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?