Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Đã lưu trữ

ASK before closing Firefox

jscher2000 -... đã trả lời
stuyoung1

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).

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

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

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/