Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Last closed tab reopens at start

  • 5 답장
  • 2 이 문제를 만남
  • 1 보기
  • 최종 답변자: cor-el

more options

Hi community, when i have only one tab opened in Firefox i can click on the "close tab"-X or Ctrl+W. This action will close Firefox, but it won't close the tab. So when i start Firefox this last opened tab, which usually would be closed after clicking on the X, will open at start again.

This behavior drives me crazy. If i want to close Firefox with the only tab opened remaining until restart, i usually would click the red X of the Windows forms control elements.

Is there any option in "about:config" which really can close the last remaining tab, while also closing Firefox?

Thank you

Hi community, when i have only one tab opened in Firefox i can click on the "close tab"-X or Ctrl+W. This action will close Firefox, but it won't close the tab. So when i start Firefox this last opened tab, which usually would be closed after clicking on the X, will open at start again. This behavior drives me crazy. If i want to close Firefox with the only tab opened remaining until restart, i usually would click the red X of the Windows forms control elements. Is there any option in "about:config" which really can close the last remaining tab, while also closing Firefox? Thank you

글쓴이 ffproblems 수정일시

선택된 해결법

As far as Firefox is concerned, if you set Firefox to restore your previous session automatically (first checkbox on the option page), it doesn't matter whether that is one tab or hundreds. There isn't a way to skip the restore in the "only one tab " scenario.

There is an option to prevent windows from closing when you close the last tab. Instead, when you close the last tab, Firefox will display either your home page or a new tab page. If you then close the window and it's the last window, that is what will get restored. Worth a try? Here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste LASTTAB and pause while the list is filtered

(3) Double-click the browser.tabs.closeWindowWithLastTab preference to switch the value from true to false

문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (5)

more options

선택된 해결법

As far as Firefox is concerned, if you set Firefox to restore your previous session automatically (first checkbox on the option page), it doesn't matter whether that is one tab or hundreds. There isn't a way to skip the restore in the "only one tab " scenario.

There is an option to prevent windows from closing when you close the last tab. Instead, when you close the last tab, Firefox will display either your home page or a new tab page. If you then close the window and it's the last window, that is what will get restored. Worth a try? Here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste LASTTAB and pause while the list is filtered

(3) Double-click the browser.tabs.closeWindowWithLastTab preference to switch the value from true to false

more options

Hi jscher, thanks for the fast tip. I will use your suggested setting in 'false' mode.

But i have to make clear, that it could be easier. The logic behind my suggestion goes like:

If you chose to restore tabs, than they obviously will be restored at the next start. But if you close the last tab, then this action would save one click or an Alt+F4, because with one action you tell the browser that 1. you want to close the last tab and 2. at the same time you want to close the whole browser(/window). So it knows that you intentionally wanted to not restore the session in this case, because you already closed the last tab. This is the logic behind clicking on the X of a tab. It should be closed instead of restored

more options

Note that it is always better/safer to close Firefox via Quit/Exit in the menu instead of closing tabs or by using the close X if you want to restore tabs with the next start. What happens if you close the last tab is controlled by the above mentioned browser.tabs.closeWindowWithLastTab pref.

more options

cor-el said

Note that it is always better/safer to close Firefox via Quit/Exit in the menu instead of closing tabs or by using the close X if you want to restore tabs with the next start. What happens if you close the last tab is controlled by the above mentioned browser.tabs.closeWindowWithLastTab pref.

Can you explain, why it is safer to close the Browser with "Menu > Quit"? I mean, this action should be identical to the OS's window close element. Otherwise the program would be lousy programmed.

Also I think we are speaking about different things. The rembering just works fine. My only complain is the behavior of the browser rembering a tab i already closed. The fact that it is the last tab, shouldn't be an exception. Chrome does it. Opera does it. Edge does it too. I can not imagine a reason why the Firefox browser has another behavior, which btw is inconsistent. If you know the reason I would be thankful to hear it.

more options

Using the close X in a window means that Firefox will first close this window and when it notices that this was the last window then closing Firefox will be initiated that includes saving data kept in memory like session data (sessionstore.jsonlz4) to the profile folder. This already causes problem if there is an hidden or forgotten pop-up window open and that is a good reason to get used to it closing Firefox this way.