Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

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

  • 4 amsoshi
  • 13 sa na da wannan matsala
  • 1 view
  • Amsa ta ƙarshe daga 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.