Disable recently closed tabs and recently closed windows in Firefox

Firefox’s recently closed tabs and recently closed windows are not controlled by the history settings. Which means even if you have history disabled the last windows and tabs you closed will still be there.

If you are worried about your privacy and you don’t want others to able to find out the last websites you visited then an addition solution to disabling the history is to disable the recently closed tabs and recently closed windows as well.

In order to do that you will need to following the steps below:

Type about:config in your address bar and press enter.

Search for browser.sessionstore.max_windows_undo and browser.sessionstore.max_tabs_undo.

Change the value to the number of max entries you want Firefox to remember. Use 0 to disable them completely.

And as always, if you are making changes to Firefox’s configuration, it is always wise to restart Firefox once the changes have been made.