I have noticed a strange behavior in the Firefox web browser for the past two days or so. You probably know that you can undo closed tabs during a session with a right-click on the tab bar and the selection of Undo Close Tab from the context menu that opens up.
What you may also know is that this is also available for windows, so that you can restore a window that you have closed before. To do so, you need to hit the Alt-key on your keyboard, and select History > Recently Closed Windows.
Both options have not been available in my version of Firefox for the last two days at the very least. I first thought that this was because I was running the Nightly channel, knowing that errors like this could have sneaked in due to the massive amount of versions released to the channel.
A quick check however revealed that the stable version of Firefox showed the same symptoms.
The undo feature of the Firefox web browser is defined by two preferences that you find in the browser's advanced configuration dialog. You open it the following way:
Now that the about:config page is open, filter for the term browser.sessionstore. A couple of options are displayed here. The two relevant for the undo feature are:
Both were set to 0 in the Firefox profile, which meant that the feature was disabled. You will notice immediately that the preference is modified if it is in bold on the page, and also by looking at the status column where user set indicates the same.
To resolve the issue, right-click on each preference and select reset from the context menu. This sets browser.sessionstore.max_tabs_undo to 10 and browser.sessionstore.max_windows_undo to 3.
What this means is that you can undo the closing of up to ten tabs and three windows in Firefox. You can increase or decrease the value as you see fit. Increasing it enables you to go back further but it may also impact the browser's memory use.
Note that you do need to restart Firefox before the new preference values take effect.
I do not know why the preferences got changed, let alone which program or extension made the change, as I did not make it. The most likely explanation is that an extension modified the preference on its own, but I cannot figure out which.Advertisement
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 or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.