Most modern web browsers support the restoring of closed tabs or windows to a certain degree. While the number of tabs or windows that you can recover may be different, it is fair to say that this is a useful feature for many users.
In fact, it has saved me from losing valuable website information after a crash or accidental closing of tabs or windows on the system.
Depending on how you use Firefox, you may use the feature either regularly, or not at all.
What's interesting in this regard is that the restoration options remain available even if you delete the browsing history of the Firefox browser.
It appears to be handled independently, which may cause privacy issues in some cases, for instance when the PC is shared with multiple users.
Firefox will save the last ten closed tabs and the last three closed windows by default during a browsing session. If you do not want that, or think it is not enough, you can easily change that in the browser's advanced configuration.
Modify recently closed tabs
Modify recently closed windows
Resetting the values
To reset any value that you have modified, right-click the preference and select the reset option from the context menu that is displayed to you.
It is obviously possible to increase the values, which is fine if you are the sole user on the computer or if user profiles are used to distinguish between accounts.
If you find yourself in situations where you need to restore tabs exceeding the 10 tab limit that Firefox normally uses, or windows exceeding the 3 window limit, then you can increase that to adjust so that it fits better with how you use the browser.
If you share the browser, you may want to consider disabling the feature, as other users may use it to restore tabs that you have closed even if you have deleted the browsing history.
Then again, it may be time to create different user accounts for the different users on the computer to avoid this from happening in first place.
Note: Firefox seems to clear those recovery options only when you close the browser, but not while it is still running (if you set it to 0).
There is an even easier solution to this, but it would have the consequence that you disable the session restore feature. Do the following to disable it:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.