Re-enable Saving or Warning when Closing Multiple Tabs in Firefox

One of the very useful features found in the Mozilla Firefox web browser that isn’t implemented in Google Chrome despite many requests over the years is the ability to warn the user when closing the web browser with multiple tabs opened. This feature is very useful because there are times when we tend to accidentally click the X button located at the top right of the window which will terminate the Firefox program. It would be disastrous if one of the tabs has an important webpage that is based on session and cannot be restored by reloading or refreshing the page.

By default, attempting to close Firefox with multiple tabs opened will show a warning “Confirm close” window with the message “You are about to close X tabs. Are you sure you want to continue?

warn when attempt close multiple tabs

Clicking the Cancel button will keep Firefox running but if you’ve accidentally unchecked the option “Warn me when I attempt to close multiple tabs“, Firefox will no longer ask for your confirmation and will instantly close the program. In this article we’ll show you how to restore back the warning on exit when multiple tabs exist.

Click at the menu icon located at the top right and select Options. If you couldn’t find the menu icon, press Alt+T and select Options. When you’re in the preferences page, make sure that General tab is selected. Finally tick the “Warn me when closing multiple tabs” checkbox. This setting takes effect immediately without the need to restart your Firefox browser.

warn me when closing multiple tabs

For older versions of Firefox that still uses the classic preferences look, you can find the setting at Options > Tabs > and tick the “Warn me when closing multiple tabs” checkbox.

old firefox options warn closing multiple tabs

Alternatively, the manual way of achieving the same result is by typing about:config in the location bar to access the hidden application settings. Click the “I’ll be careful, I promise!” button, and type browser.tabs.warnOnClose at the search bar.

The default value is True which will warn you when closing Firefox with multiple tabs. If it is False, simply double click to change the value back to True, or right click and select Toggle.

browser tabs warnonclose

If you’ve been using Firefox long enough, you may have noticed that this warning window has been slightly changed since Firefox 4. Before Firefox 4, closing the browser with multiple tabs will give you the option of saving the tabs so that they will be automatically reloaded the next time you run Firefox. It is a similar looking popup window but instead the message shows “Do you want Firefox to save your tabs for the next time it starts?

firefox save tabs for next time

Although there might be a valid reason why the Firefox development team changed this behavior, this feature may be more convenient and useful to some people. If you prefer to have this option instead, it can be turned on by typing about:config in the address bar and click the “I’ll be careful, I promise!” button. Then type browser.showQuitWarning in the Search bar and change the value from false to True.

browser showquitwarning

Do take note that this browser.showQuitWarning option takes precedence over the browser.tabs.warnOnClose. This means that if you have the “Save and Quit” option enabled, it will override the default behavior of warning when closing multiple tabs.

Additional Tip: If Firefox is somehow accidentally closed and you want to reopen all the previous tabs that were opened before Firefox was terminated, you can do so by clicking at the “Restore Previous Session” button located at the bottom right of the Mozilla Firefox Start Page, or alternatively you can press Alt+S to automatically open History from menubar and select “Restore Previous Session“.

145 Comments - Write a Comment

  1. LB 5 months ago
  2. MANUEL 1 year ago
    • LB 5 months ago
  3. Bopik 1 year ago
    • Rami 1 year ago
  4. Zoran 7 years ago
  5. zll 8 years ago
  6. gopi.smak 8 years ago
  7. muhammad fanani 8 years ago
  8. Mohi 8 years ago
  9. Bich 8 years ago
  10. Bob The Builder 8 years ago
  11. szproteus 8 years ago
  12. Daniel Van Persie 8 years ago
  13. Cece Writer 9 years ago
  14. Gianni 9 years ago
  15. Iftekhar Hussaini 9 years ago
  16. Tpman2004-misc 9 years ago
  17. Shajahan A Kharim 9 years ago
  18. Anonymous 9 years ago
  19. msjones 9 years ago
  20. jbbb 9 years ago
  21. fufu 9 years ago
  22. Roger form Montana 9 years ago
  23. Roger form Montana 9 years ago
  24. Koshii 9 years ago
  25. Shevy Bee 9 years ago
  26. Sourav 9 years ago
  27. asdf 9 years ago
  28. JOEY JO JO 9 years ago
  29. Edgar Castro 9 years ago
  30. Magno 9 years ago
  31. chi-town girl 9 years ago
  32. freeware 9 years ago
  33. Adam 9 years ago
  34. md.khaled 9 years ago
  35. Mouktik 9 years ago
  36. Cole 9 years ago
  37. moi toi 9 years ago
  38. jeff 9 years ago
  39. lee 9 years ago
  40. Ida 9 years ago
  41. ejan 9 years ago
  42. Mange 9 years ago
  43. ken 9 years ago
  44. Dinesh Kumar Shaw 9 years ago
  45. pantelis 9 years ago
  46. mental 9 years ago
  47. Rifki 9 years ago
  48. Gaggo 9 years ago
  49. Dudley Fuddpucker 10 years ago
  50. dude 10 years ago
  51. jess 10 years ago
  52. rajiv kumar mishra 10 years ago
  53. Amy 10 years ago
  54. Lucy 10 years ago
  55. Christiana 10 years ago
  56. Waltman 10 years ago
  57. FAUSTO MXLI 10 years ago
  58. Blackwolf 10 years ago
  59. erin 10 years ago
  60. V 10 years ago
  61. User 10 years ago
  62. Maria 10 years ago
  63. Cordless 10 years ago
  64. ishtiak 10 years ago
  65. mek 10 years ago
  66. designi1 10 years ago
  67. Idaho Jill 10 years ago
  68. Albert 10 years ago
  69. homestilo 10 years ago
  70. Alex 10 years ago
  71. Matt Heller 10 years ago
  72. MD 10 years ago
  73. assfgfg 10 years ago
  74. Patrick K. 10 years ago
  75. rob harrison 10 years ago
  76. Addy 10 years ago
  77. Eduard 10 years ago
  78. Angel 10 years ago
  79. Sarah 10 years ago
  80. MG 10 years ago
  81. leakeg 10 years ago
  82. cateus 10 years ago
  83. oggmeista 10 years ago
  84. gimpshrimp 10 years ago
  85. Ojas 10 years ago
  86. Rajiv 10 years ago
  87. apotsi 10 years ago
  88. Tiny 10 years ago
  89. kaizerkaos 10 years ago
  90. 7a$o0n 10 years ago
  91. seagem 10 years ago
  92. Outi 10 years ago
  93. PaulW 10 years ago
  94. GrahamG 10 years ago
  95. Julie 10 years ago
  96. visha joshi 10 years ago
  97. Anonymous 10 years ago
  98. gibson 10 years ago
  99. Kevin 10 years ago
  100. Bryan 10 years ago
  101. Sycsa 10 years ago
  102. Ravi 10 years ago
  103. kcl 10 years ago
  104. Ralph 10 years ago
  105. Steve 10 years ago
  106. Babak 10 years ago
  107. Andrew 10 years ago
  108. saman 10 years ago
  109. Rie 10 years ago
  110. mubashir 10 years ago
  111. b 10 years ago
  112. zeestom 10 years ago
  113. abc 10 years ago
  114. lildoro 10 years ago
  115. radiant-glow 10 years ago
  116. thanx4sharing66 10 years ago
  117. Ravinder Saxena 10 years ago
  118. MIke jackson 10 years ago
  119. asd 10 years ago
  120. di 10 years ago
  121. Adriano Labate 10 years ago
  122. mar87 10 years ago
  123. JoshuaH 10 years ago
  124. ch 10 years ago
  125. from kor 10 years ago
  126. Robyn 10 years ago
  127. Deex 10 years ago
  128. Patrick 10 years ago
  129. Tommo 10 years ago
  130. xDR1TeK 10 years ago
  131. dpbert 10 years ago
  132. rishi 10 years ago
  133. INDRANIL 10 years ago
  134. roy raay 10 years ago
  135. Cserb 10 years ago
  136. Dolphy 10 years ago
  137. skyzyk 10 years ago
  138. Manjunath 10 years ago
  139. Steph 10 years ago
  140. sam 10 years ago
  141. Ed 10 years ago
  142. Vivek 10 years ago
  143. Firas 10 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please contact us directly.