搜尋 Mozilla 技術支援網站

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

了解更多

ASK before closing Firefox

more options

Is there a setting that prevents Firefox from closing immediately when the X in the upper right corner is clicked? Thinking a question "Are you sure that you want to close Firefox" should pop up. Recently I've closed Firefox accidentally and lost all of my open tabs (I don't keep history).

Is there a setting that prevents Firefox from closing immediately when the X in the upper right corner is clicked? Thinking a question "Are you sure that you want to close Firefox" should pop up. Recently I've closed Firefox accidentally and lost all of my open tabs (I don't keep history).

所有回覆 (2)

more options

In Firefox: Settings > General > Tabs > [v] Confirm before closing multiple tabs https://support.mozilla.org/en-US/kb/how-configure-close-tab-warnings-firefox


Note if you have two or more Firefox windows then you should use the Firefox menu Quit/Exit so the whole session is saved and not just the last window open by using the X.

https://support.mozilla.org/en-US/kb/how-do-i-restore-my-tabs-last-time https://support.mozilla.org/en-US/kb/restore-previous-session

有幫助嗎?

more options

stuyoung1 said

... (I don't keep history).

Do you mean you have Firefox set to automatic private browsing mode -- on the Settings page, either:

  • Firefox will: Never remember history
  • Firefox will: Use custom settings for history + "Always use private browsing mode"

I have noticed that Firefox doesn't give me warnings when closing private windows. Not sure if there is a setting for those.

As a workaround, you could try my old add-on: https://addons.mozilla.org/firefox/addon/prevent-closing-window/

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題