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