Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

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

I want a warning when quitting multiple tabs

  • 3 réponses
  • 1 a ce problème
  • 7 vues
  • Dernière réponse par FredMcD

more options

Hiya I want to be warned when quitting multiple tabs BUT I do not want the session restored when opening again. This used to be possible but now in Settings if I untick Restore previous session even though Warn you when quitting the browser is ticked it does not give a warning when I quit Firefox. So this means if its unticked then if I accidently hit the close button I loose all the open tabs in firefox. If ticked I have to close all the tabs manually each time I close firefox to prevent thm opening when I start Firefox again. Im on Windows 10 Pro 21H1 with Firefox 93.0 any idea if I can change this behaviour in the advanced prefs? (about:config) thanks for any insights A

Hiya I want to be warned when quitting multiple tabs BUT I do not want the session restored when opening again. This used to be possible but now in Settings if I untick ''Restore previous session'' even though ''Warn you when quitting the browser'' is ticked it does not give a warning when I quit Firefox. So this means if its unticked then if I accidently hit the close button I loose all the open tabs in firefox. If ticked I have to close all the tabs manually each time I close firefox to prevent thm opening when I start Firefox again. Im on Windows 10 Pro 21H1 with Firefox 93.0 any idea if I can change this behaviour in the advanced prefs? (about:config) thanks for any insights A

Solution choisie

Type about:config<enter> in the address bar. 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.warnOnCloseOtherTabs = true

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (3)

more options

Solution choisie

Type about:config<enter> in the address bar. 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.warnOnCloseOtherTabs = true

more options

oh never mind Im an ejit I just found the setting in the next bunch below those ones. [Edit] now when I look at settings that option is gone but the about:config answer above works thanks

Modifié le par dROID

more options

Glad to help. Safe Surfing.