X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How do I delete "Recently Closed Tabs" and "Recently Closed Windows" from the History tab?

Posted

I tried "Clear Recent History" on the Tools tab and it didn't work.

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1

More Information

ideato
  • Top 25 Contributor
617 solutions 4264 answers

see if this add-on is helpful : Menu Editor add-on


thank you

cor-el
  • Top 10 Contributor
  • Moderator
10776 solutions 96959 answers

Do you want to clear entries in both lists?

You can (temporarily) set the browser.sessionstore.max_tabs_undo pref to 0 to clear the "Recently Closed Tabs" list.
If you want to re-use the "Recently Closed Tabs" feature (Undo Closed Tabs) then you can reset the browser.sessionstore.max_tabs_undo pref to the default value via the right-click context menu.

Close all tab in a window before closing that window to prevent the window from appearing in the recently closed windows list.

  • This may not be possible with a pop-up window.

Set the browser.tabs.closeWindowWithLastTab pref to false on the about:config page to prevent closing the last tab from closing that window.

Firefox will remember one window if you open additional windows and close that window while tabs are open in that window.
To prevent that you need to close all open tabs in a window before closing a window.

dminor 0 solutions 5 answers

OK. that clears it completely, but how do I make the clear recently history work so I don't have to change this setting. I use this something to return to web pages but there are times I want to clear it and the recently open windows tab too.

So how do I fix the real problem and get it to work the right way.

cor-el
  • Top 10 Contributor
  • Moderator
10776 solutions 96959 answers

You can't use Clear Recent History to clear those two lists.
Those two lists are saved in the sessionstore.js file as part of the current session data.
Clear Recent History can only clear the browser history and other website data like cookies.

The only way to remove them otherwise is to open a new window and then close all tabs in the previously used window and then close that window like posted above.