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