Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Firefox opens a single, blank tab in addition to my previous session on every startup

  • 2 отговора
  • 0 имат този проблем
  • Последен отговор от Wil Langford

more options

This [previous question] previous question is archived, but it exactly describes and explains the problem: when only pinned tabs are open when Firefox closes, then on startup - when restoring the previous session is enabled - the previous session is restored and a new tab is created. This is annoying, so I "fixed" it:

https://gist.github.com/adeilt/6ed372f4d8a7c54f9df49a3ca1adc4b2

That's a gist of an html file that will automatically close the tab it's in. It does involve using about:config, so use appropriate caution. Just set that to be your "homepage" in the Firefox settings and the new tab will likely disappear before you even notice it. You can tweak the delay if it's not fast enough or you want to savor the impending doom of the offending tab.  :)

This [[https://support.mozilla.org/en-US/questions/1195017 previous question]] previous question is archived, but it exactly describes and explains the problem: when only pinned tabs are open when Firefox closes, then on startup - when restoring the previous session is enabled - the previous session is restored ''and'' a new tab is created. This is annoying, so I "fixed" it: https://gist.github.com/adeilt/6ed372f4d8a7c54f9df49a3ca1adc4b2 That's a gist of an html file that will automatically close the tab it's in. It does involve using about:config, so use appropriate caution. Just set that to be your "homepage" in the Firefox settings and the new tab will likely disappear before you even notice it. You can tweak the delay if it's not fast enough or you want to savor the impending doom of the offending tab. :)

Променено на от cor-el

Избрано решение

TL;DR: the original post contains a workaround for the problem. See above.

Thanks for the reply, but this doesn't solve my problem. The problem is reportedly a design decision in Firefox (according to a reply to the linked older question), so this is a workaround for anyone interested. I would have replied to the older question, but it's now archived despite not being solved.

I guess this question will be open until a solution is accepted, so I'll see if I can accept this reply as a "solution".

Прочетете този отговор в контекста 👍 0

Всички отговори (2)

more options

You can check that those pages aren't set as multiple homepages.

You can check the homepage setting in "Settings -> Home".

Firefox supports multiple homepages separated by '|' (pipe) symbols.

Полезно?

more options

Избрано решение

TL;DR: the original post contains a workaround for the problem. See above.

Thanks for the reply, but this doesn't solve my problem. The problem is reportedly a design decision in Firefox (according to a reply to the linked older question), so this is a workaround for anyone interested. I would have replied to the older question, but it's now archived despite not being solved.

I guess this question will be open until a solution is accepted, so I'll see if I can accept this reply as a "solution".

Полезно?

Задаване на въпрос

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.