How to Bring Back “Save Tabs and Quit” Feature in Mozilla Firefox?

For some unknown reasons, Mozilla has removed "Save and Quit" feature from Firefox 4.0 and later versions. In earlier versions, if you opened more than one tabs in Firefox and clicked on Close button, it used to show a dialog box to save your tabs and quit the window.


In Firefox 4.0 and later versions, it no longer allows you to save the tabs. Whenever you click on Close button, it only warns you with a dialog box but doesn't provide any button to save the tabs.


Using this small trick, you can bring back the good old feature in Mozilla Firefox 4.0 and later versions:

1. Open Firefox and type about:config in the addressbar and press Enter. It'll confirm, click on I'll be careful, I promise! button.


2. Now type quitwarning in the Filter box, it'll show following boolean key:


3. The entry "browser.showQuitWarning" would be set to false. Double-click on it or right-click on it and select toggle. It'll set its value to true.

4. Now whenever you close multiple tabs, Firefox will ask you to save the tabs and quit.

Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Mozilla Firefox

Other similar articles that may interest you


  • Much thanks great to get save tabs back on close, appreciated

  • I have tried to activate the safe tab feature back on my browser and "browser.showQuitWarning" option is not there for me to click on and change to true.
    I am surprised this has changed today, yesterday was fine.I have Firefox ver. 3.6.17. I have not downloaded Version 4. What else can I do to try to get the Save Tabs and Quit feature back on?

  • VG

    ^^ Try to manually create it.

  • thank for sharing, it's works

  • does not work (anymore9

  • VG

    ^^ It works even in latest Nightly build.

  • I use Firefox 15.0.1, used your steps and it immediately worked..many thanks my man..may you continue with your work, helping people like me.. Thank you

  • It worked. Thank you, thank you, thank you!!!

  • Thanks for the nice tutorial

  • Excellent tip, it worked for me!

  • Thank you, this is very helpful!!!!!!! Works very well. :)

    Thanx VG
    worked GREAT

  • You are awesome!
    Thank you!

  • Thanks a lot for this great help.

  • THANK YOU, THANK YOU, THANK YOU x 10000000000000000000000000000000000000000000000000!!!

  • My preference is set to "true" and yet it does not give me the option, and I lose all tabs. Happens intermittently.

  • Great directions, it worked, thank you :)

  • thx man! you saved my day :-)
    i love people like you, thank you very much!!

  • Great direction makes tweaking easy for all, the save TABS fix has done its work for me. Thanks.

  • I accidentily checked the Do not ask next time box on the confirm close window and then clicked on the save and quit button but I want to go back and get the confirmation window again.How can I do that?


  • [edit] I meant the Quit Firefox window. Sorry.

  • VG

    ^^ Do you mean this?

  • Nope that doesn't work. :( I need to re-enable the Quite Firefox window even though I have enabled it in Firefox v4.0.There might be a way of getting around it.I will copy and modify the prefs.js file from my dad's laptop and obviously back-up the prefs.js on my pc just incase and replace it with the modified one from my dad's pc and see if that works.

  • [edit] that did not work at all. The settings for that are somewhere else.Did not fix the problem. :(

  • cant put in my password in to log to any site .A key comes up asking me do I want to reset or something but when I press keys it clears my log in name . any idea what i have done

  • I have FF 27.0 and have always had the 'quit and save' option on closing FF. By
    by mistake I did a reset. I have been having an awful time getting the browser to look/act like it did before the reset but its almost the way I want it. I noticed the 'quit and save' did not work so followed your instructions but I don't get any pop up box to save and quit,etc. However when I re-open FF it has all the tabs that were opened last time. I really don't want that either. Sometimes I want to save what I have tabbed and sometimes I don't. I guess I will have to start deleting tabs I don't want to see before I close FF.

  • Works great! Tanks!

  • thank you :D!

  • Thanks!! I really wanted it back.

  • super thanks most helpful

  • You ROCK! Thank you so much!!

  • Works on FF 33.0. Thank you so very much!

  • FINALLY! thx very much. why oh WHY do "they" take out those features

  • This is great to know about...just did this, and hopefully will prevent future loss of work when I have multiple tabs open...I use a LOT of tabs...including my Homepage...which brings up my question:

    Is there a way to change configuration so if I accidentally click on the "home" icon at the top right of the browser when I'm trying to click the down-arrow button that is *right* next to it,
    (this does happen 2 times a year at least and is a huge pain) and then it opens *another* 30 or 40 tabs (whatever number I have in my homepage at that time...which is many..yes I know how to create html pages as bookmarks but too dynamic..too many projects at once..this works for me, trust me) it even happened once or when I'm trying to close a tab but I had done an "f11" to put into or out of full screen and the browser had a 2? second delay and moved up or down at just the wrong time and mouse when right on House icon...usually I think it's the down loading down arrow,

    and I'm careful and it's ok 97.5% of the time but a few times a year...a ton new tabs open...loading each one....very slow...and then you have to close them all down

    All I want is: "ARE YOU SURE?" when I click on the home button..or at least if one has more than one (or more than 5 say) tabs set as one's Homepage, then have it ask "are you sure?" so I can click "No" (make that the default, obviously, make the Yes button small etc)

    Can this be done? OR could it be done with config or an add-on? I searched without success in firefox add-ons online, a while back..


  • VG

    ^^ Why not move the Home icon to somewhere else or simply remove it from the toolbar?

  • Thank you! Worked easily and here I thought I might need an addon for this.

  • Many thanks for this wonderful little trick.

  • Fantastic, thanks for sharing, excellent tip!!

  • With multiple windows open, using FF v38.0.5, this only worked for me on the last window to close. I am able to use reopen all windows retaining tabs by closing FF from within Task Manager [ctrl] [alt] [del].

  • I was wrong above. Here is a correct method that is part of the FF design. Works with multiple windows open. You can't use X to s/d. Use [file][exit].

  • Too bad it seems impossible to get this great feature back in v42.

  • I have done this any many other steps suggested on other sites and I still can not get the save & Quit option back.

  • Very good, thanks

Leave a Comment