Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Exit browser warning disappeared

  • 9 پاسخ
  • 1 has this problem
  • 1 view
  • آخرین پاسخ توسّط tonyt187

more options

Hello,

I have noticed over the past couple of months that if I accidentally click the big red x in the top-right corner of the Firefox browser, that all of my currently open tabs then close and disappear without any warning.

Firefox used to display a warning dialogue box stating "Warning - you are about to exit Firefox and xx amount of tabs will be closed. Are you sure you want to proceed?"

But recently this warning has been removed and multiple times now I have lost all of my tabs/online work after accidentally clicking the exit button.

Could you kindly re-instate this warning dialogue box because it was extremely useful?

Thanks very much for your help, Tony

Hello, I have noticed over the past couple of months that if I accidentally click the big red x in the top-right corner of the Firefox browser, that all of my currently open tabs then close and disappear without any warning. Firefox used to display a warning dialogue box stating "Warning - you are about to exit Firefox and xx amount of tabs will be closed. Are you sure you want to proceed?" But recently this warning has been removed and multiple times now I have lost all of my tabs/online work after accidentally clicking the exit button. Could you kindly re-instate this warning dialogue box because it was extremely useful? Thanks very much for your help, Tony

Chosen solution

Note that you can control this via "Settings -> General -> Tabs: Confirm before closing multiple tabs".

Best is to use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar, especially if you have multiple windows open to prevent losing tabs in unnoticed windows (only the last closed window is restored).

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit
Read this answer in context 👍 1

All Replies (9)

more options

I think these are the right settings; Type about:config<enter> in the address box. If a warning screen comes up, press the I Accept the Risk button. At the top of the screen is a search bar.

browser.tabs.warnOnClose = True browser.tabs.closeWindowWithLastTab = False

more options

Thanks Fred. I just changed my settings and tested it and the warning appears again. Cheers.

more options

I would also check your settings so that if you close the browser, your session should return when you open it.

more options

Glad to help. Safe Surfing.

more options

Hello,

I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution.

Thank you for contacting Mozilla Support.

more options

Chosen Solution

Note that you can control this via "Settings -> General -> Tabs: Confirm before closing multiple tabs".

Best is to use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar, especially if you have multiple windows open to prevent losing tabs in unnoticed windows (only the last closed window is restored).

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit
more options

WARNING: Changing preferences through about:config not officially supported Hidden settings edited using the about:config tool are explicitly not supported, which means that Mozilla makes no guarantees they will be supported in the future, or that Mozilla will fix them if they break. Mozilla does not test these preferences. That includes security and performance testing which these preferences may affect.

Tony, please use the instructions provided by jonzn4SUSE

more options

This was a change that took place in Firefox version 94. If you want to see a warning when closing a window with multiple tabs, there is no need to use about:config - you can change your Firefox settings as follows:

Go to the Firefox menu Fx89menuButton, click on Settings and, in the General panel Tabs section, select the option, Confirm before closing multiple tabs.

Fx94settingsTabs-Win

See Tab preferences and settings and How to configure Close Tab warnings in Firefox for details.

more options

Thanks for your help everyone. I have now used the settings option to select the multiple tabs closure warning. Cheers.