Mozzarella

Home

Recently Closed

Recently Closed is a simple and extremely minimal web extension for a quick access to the Firefox menu items, History ➔ Recently Closed Tabs  and  History ➔ Recently Closed Windows.

A toolbar button that when clicked reopens the last closed tab or window and a right mouse click on that same button to get access to the list of all recently closed tabs and windows that Firefox stored.

― At Your Own Risk ―
The list of recently closed tabs/windows is saved and managed by the browser (Not this extension!) and can be increased by modifying the following browser preferences.

  1. browser.sessionstore.max_serialize_back - maximum number of pages from "back" history that can be restored (default 10).
  2. browser.sessionstore.max_tabs_undo - maximum number of closed tabs stored/restorable for each window (default 10).
  3. browser.sessionstore.max_windows_undo - maximum number of closed windows stored/restorable per session (default 3).
Attention: The Mozilla's JavaScript API, sessions​, restricts the number of retrieved recently closed sessions to 25 at the most. So no matter what values are set in the browser.sessionstore.max_* preferences, the number of menu item sessions will never be more than 25.

――――――――――
Note: I wrote this in a couple of hours, and it's exactly what I need. I'm sure there are existing extensions that offer this exact functionality and with much more options. Shop around if you want or need more.

Install
All recently closed tabs and windows (button's context menu) Toolbar button