How to configure Firefox to show a quit warning on exit
I have configured my version of Firefox to show the windows and tabs that I had opened the last time whenever I open it.
It is the most comfortable option for me, as I can keep sites open in the browser instead of having to save them as bookmarks. Plus, I can continue work without having to open sites again first.
While the browser's session restore feature is very convenient, some of you may only want to use it at times, but not all the time.
There is no option in Firefox to give you that choice when you close the browser, as Mozilla removed it in Firefox 5.
It is still possible to configure Firefox to warn you on exit, so that you can decide whether to keep the open tabs or start without session restore the next time you open it.
That feature requires some digging in Firefox's advanced configuration though.
Update:Firefox is configured to automatically warn users when they quit the browser by default if tabs are still open. Firefox users may also enable "Warn you when closing multiple tabs" on the about:preferences page of the browser. End
Show quit message on exit in Firefox
The message above is displayed if you have configured Firefox to display a warning when you close the browser. You can use it to save and quit, which would load the open tabs the next time you start the browser, quit, which won't save the tabs and therefore also do not load them, or cancel to stop the closing.
So how do you get that message in Firefox?
- Type about:config in the browser's address bar and hit the enter key on your keyboard.
- Confirm you will be careful if a warning message is displayed to you.
- Search for the preference browser.warnOnQuit.
- Double-click the preference.
This sets the preference to true, which means that Firefox will display the quit dialog when you close the browser.
Note: The dialog is only displayed if you have configured Firefox to display the home page or a blank page. If you have configured it to display tabs and windows of the last session, it won't be displayed.
You can undo the change at any time by repeating the four steps outlined above. This sets the preference to false and marks it as inactive as a consequence.
Setting the preference to true can be useful if you want to save session information at times, but not all the time. It is also preventing accidental closings of the browser as the prompt is displayed to you whenever you close the Firefox browser.Advertisement