Allow ctrl/cmd + shift + T to be able to restore not only the previously closed tab, but also previously closed session. Very often one can close the browser by mistake and then, when the user opens Firefox again, the same shortcut that is for restoring previous tabs will be very handy in this scenario.
In 'Settings' on the 'General' tab in the 'Tabs' section there is an option to confirm before closing multiple tabs. This might help closing by accident.
Previously there was an option in History to"Restore Previous Session". What happened to it? Having that easy option is far preferable than the solution offered above. Please restore it in the next Update!
I would definitely say that the option to "ask before closing multiple tabs" is inadequate, because in my case it will ask me that every time, incessantly, and I will no doubt become accustomed to clicking it away automatically and very quickly.
What we actually need is a way to restore the session once it is lost - because it will be lost.
Restoring the previous session, even while I have one open (e.g. I split a tab out, and accidently closed the main window with many tabs first) would save me several times per year (from a lot of work trying to track down sites again).
As in edge, opening the browser and pressing the following keys (ctrl + shift + t) restores the whole previous session, I believe this is more efficient than clicking.
This has been requested over 5 years ago:
All Chromium-based browsers and Safari works like this, so I think it's safe to say, that using the single Ctrl+Shift+T shortcut to reopen all and everything that has been closed (including tabs, windows and sessions) is standard browser behavior today.
This is one of my highest priority issues with Firefox. It's the only browser I use that doesn't have this functionality yet.
It has a function for this, but not a shortcut: https://ctrl.vi/i/HBNP47haQ
For instance when you shutdown the computer, but need to keep working later when restarting on a set of tabs, would be nice a shortcut for restoring the session.
Like a lot of people, I've recently tried switching to FF from Chrome. Sadly I'm not using it as my default browser at the moment, as this is the ONLY thing that stops me.
It's not about accidental closing, for me it's about shutting down the PC, turning it back on the next day and knowing I can press Ctrl+Shift+T to get right back where I was with all my tabs restored. Yes, it has the ability to 'Open previous windows and tabs' on start up, so why not give the option to users to do it manually. Why is assigning a shortcut to this function such a mammoth task that I found this particular post by going through a 5 YEAR OLD THREAD.
It's a basic function of most browsers nowadays. Crazy...
i have same problem
in chrome when you accidentally close browser , and reopen it you can press ctrl+shift+T all of your tabs came back white same order.
also there is an add-on
has same functionality !