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“.

140 Comments - Write a Comment

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