Change The Number Of Tabs That Firefox Can Undo - gHacks Tech News

Change The Number Of Tabs That Firefox Can Undo

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:

  1. If you sometimes need to restore more than ten tabs that you have closed previously.
  2. If you want to reduce the number to save some memory and maybe improve privacy as well.

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.

firefox undo tabs

To modify the number, do the following:

  1. Type about:config in the location bar of Firefox.
  2. Confirm that you will be careful if the prompt appears.
  3. Search for the parameter browser.sessionstore.max_tabs_undo. The default value of it is 10.
  4. Double-click the name and you should see a form popping up that you use to change the value of it.
  5. Just enter a different number into the form and you are good to go.
  6. You may need to restart the browser before the change takes effect.

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.

Summary
Change The Number Of Tabs That Firefox Can Undo
Article Name
Change The Number Of Tabs That Firefox Can Undo
Description
Find out how to change the number of closed tabs that you can restore in the Firefox web browser.
Author




  • We need your help

    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 (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    Leave a Reply