This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

I want a warning when quitting multiple tabs

  • 3 respostas
  • 1 has this problem
  • 7 views
  • Last reply by 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

Chosen solution

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

Ler a resposta no contexto 👍 1

All Replies (3)

more options

Chosen Solution

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

dROID modificouno o

more options

Glad to help. Safe Surfing.