We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

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

  • 4 fhreagra
  • 13 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó cor-el

more options

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

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

All Replies (4)

more options

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


thank you

more options

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.

more options

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.

more options

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.