Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Exit browser warning disappeared

  • 9 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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

Solution choisie

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
Lire cette réponse dans son contexte 👍 1

Toutes les réponses (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

Solution choisie

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.