It never happened to me that I wanted to restore more than two tabs in Firefox and even that happened only once since the feature has been introduced to the browser.
A right-click on a tab opens a context menu with tab-related options. One of them is called Undo Close Tab and if you click on it, the last closed tab will be re-opened in the browser.
Firefox saves the last ten closed tabs by default which seems like a lot considering that you can re-open the last ten closed tabs in the browser by default because of it.
There are two situations in which you may want to change the number of tabs that Firefox can undo:
I cannot really say if this has an impact on Firefox memory usage or performance but it probably has since the data has to be stored somewhere.
To modify the number, do the following:
If you run into issues after making the change, for instance by noticing that memory use went up, you can modify the preference again to resolve the issue.
A right-click on the preference name and the selection of reset for example sets it back to its default value.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
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.