I generally have a "home" Firefox window with my most used tabs pinned. Sometimes I close it before another window, so I was frustrated to "lose" it and having to redo my pins. But recently I discovered this feature. Joy!
How would people function without knowing this?? Maybe I'm just young, but this has been a thing as far back as I can remember (maybe 2010 or so), on all browsers I've used (Safari, Chrome, Firefox).
Command + Shift + T on mac os, and Ctrl + Shift + T for Windows
You're welcome
That's last closed tab, not window.
Edit: actually it will reopen a window too if the last closed tab was on it.
Literally every browser has this feature, it's not unique to Firefox.
Shift+ctrl+T is usually the keyboard shortcut to bring back closed tabs Shift+ctrl+N is to bring back closed windows (doesn't work on private browsing windows)
I can still feel the pain when it’s 2 AM and you meant to Ctrl + Shift + T and you’re muscle memory leaks in and hits you with the Ctrl + Shift + W.
FYI there’s a confirm close option that will mitigate this terrible scenario, for anyone that’s been there before.
I highly recommend Tab Session Manager if you're a crazy person like me.
seconded, it's great for resuming learning sessions and stuff like that.
Being able to jump back into all the troubleshooting and stack overflow tabs whenever a problem reappears is great.
As someone who frequently has windows with 1000+ tabs, this feature has saved my bacon countless times.
Chrome crippling the reopen tab option(they removed from right click menu) is what drove me back to Firefox.
Not here to defend chrome, but Ctrl+Shift+T works on chrome as well still.
I don't use keyboard shortcuts. And the right click menu only has like 5 things, and that was the option I used the most. It was a pointless change.
Waht... I haven't used chrome in years. Unbelievable they'd remove that.
Only the last three or so windows though, so if you got a few pop-ups before you press that you might be screwed...
...unless you have backups of an old session file, then you can use this tool to restore a list of those tabs: https://www.jeffersonscher.com/ffu/scrounger.html
There is also this handy addon for saving backups of windows like that to a txt list of urls: https://addons.mozilla.org/en-GB/firefox/addon/urls-list/
I know this, but I'm peeved that when I shut my computer off with Firefox open, I have a 50/50 chance of it automatically bringing all my tabs back on the next launch.
It also persists through a reboot, so if you shutdown or reboot with tabs open, it will ask you to restore the previous session when you next start it after the boot.
If you didn't restore it, but didn't open any more tabs, you can close it again, reboot, etc, and this option will still work to get your tabs back when you're ready.