this post was submitted on 17 Aug 2023
611 points (93.6% liked)

Firefox

18050 readers
159 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
 

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!

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 99 points 1 year ago* (last edited 1 year ago) (6 children)

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).

[–] PmMeFrogMemes 54 points 1 year ago (2 children)

yeah if I did ctrl-shift-T and didn't get my tab back on a modern browser I'd assume it was a bug lol

[–] [email protected] 11 points 1 year ago* (last edited 1 year ago) (4 children)

This about reopening entire Windows that you closed, which you can undo since version 116, released August 1.

The keyboard shortcut to reopen closed tabs (Ctrl + shift + t or Command + shift + t depending on your operating system) now reopens last closed tab or last closed window, in the order items were closed. If there aren't any tabs or windows to reopen, this command restores the previous session. This change is in anticipation of upcoming changes to recently closed tabs.

[–] [email protected] 26 points 1 year ago (2 children)

Nope, this feature has existed forever. They just changed the shortcut, previously it was Ctrl-shift-T for re-opening the last closed tab and Ctrl-shift-N for re-opening the last closed window.

[–] [email protected] 4 points 1 year ago

Ohh, this makes much more sense. Thanks!

[–] [email protected] 3 points 1 year ago

Yup, I've been using Ctrl-shift-N for years, so long that I don't recall it ever not being a thing. Basically, as soon as I needed to reopoen a closed window, I just added "shift" to do the opposite of opening a new window and it worked.

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago)

Uh, no, it's certainly much older than that. I know because I have literally used it.

This has to be something else.

Edit: yeah, it's not a new addition. It's under "changes" in the patch notes. Big difference.

load more comments (2 replies)
load more comments (1 replies)
load more comments (5 replies)
[–] eruchitanda 57 points 1 year ago (2 children)
[–] [email protected] 32 points 1 year ago (1 children)

Ctrl-Shift-T for the last tab closed, Ctrl-Shift-N for the last window closed

[–] [email protected] 17 points 1 year ago (5 children)

Just checked, it appears ctrl+shit+T will also reopen a window if the last closed tab was on it.

[–] [email protected] 5 points 1 year ago

You can just keep pressing it to reopen as many closed tabs as you need.

load more comments (4 replies)
[–] [email protected] 29 points 1 year ago (2 children)

Command + Shift + T on mac os, and Ctrl + Shift + T for Windows

You're welcome

[–] [email protected] 8 points 1 year ago (5 children)

Don't forget Ctrl + Shift + N

load more comments (5 replies)
load more comments (1 replies)
[–] [email protected] 28 points 1 year ago (2 children)

CTRL+SHFT+t

Will reopen your last closed tab.

[–] [email protected] 4 points 1 year ago
load more comments (1 replies)
[–] [email protected] 27 points 1 year ago (4 children)

Literally every browser has this feature, it's not unique to Firefox.

load more comments (4 replies)
[–] [email protected] 16 points 1 year ago (1 children)

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)

load more comments (1 replies)
[–] [email protected] 15 points 1 year ago (1 children)

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.

load more comments (1 replies)
[–] pillars_in_the_trees 14 points 1 year ago

I have Ctrl + W and Crtl + Shift + T bound to my mouse for this reason.

[–] [email protected] 10 points 1 year ago

You can just press CTRL+SHIFT+T and CTRL+SHIFT+N continually to reopen closed tabs and windows, respectively, in the order they were closed.

[–] [email protected] 7 points 1 year ago

ctrl+shift+t

[–] [email protected] 6 points 1 year ago (4 children)

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.

load more comments (4 replies)
[–] [email protected] 5 points 1 year ago

Oh yeah this feature is a godsend

[–] [email protected] 5 points 1 year ago (3 children)

I highly recommend Tab Session Manager if you're a crazy person like me.

load more comments (3 replies)
[–] [email protected] 5 points 1 year ago (4 children)

Chrome crippling the reopen tab option(they removed from right click menu) is what drove me back to Firefox.

[–] Aussie_Damo 3 points 1 year ago

I'm so sorry you had to use chrome, hope your day gets better.

load more comments (3 replies)
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

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/

[–] [email protected] 4 points 1 year ago (4 children)

How do you people make the screenshots of popups in Firefox? Every time I press Print Screen they just keep fading away.

[–] SlapnutsGT 3 points 1 year ago (2 children)

If you’re on windows use “snipping tool”

load more comments (2 replies)
load more comments (3 replies)
[–] [email protected] 4 points 1 year ago

I rely on this all too often...

[–] [email protected] 3 points 1 year ago (6 children)

I wish Firefox had a method to restore windows after a restart. Losing all my tabs across multiple windows due to work required updates is a huge pain.

[–] [email protected] 15 points 1 year ago (2 children)

This is literally a thing? You just go to options and tick General -> Startup -> Open previous windows and tabs. It is quite literally the first option in the interface. I only mean to be a slight bit rude, but did you not even take a cursory look through the options?

[–] [email protected] 3 points 1 year ago

Don't worry about being rude. Spreading demeaning misinformation about free software, especially one as important for the Web as Firefox, should be frowned upon.

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago

There is a "recently closed windows" section in the history area. You can get all your tabs back.

[–] superfiercelink 4 points 1 year ago

If you can use extensions, I use the Tab Session Manager extension. It has a ton of features too but the big one is auto saving your sessions so you can always restore it all after a restart.

[–] aaaa 3 points 1 year ago* (last edited 1 year ago) (1 children)

It's funny, it does do this when Windows restarts outside of your control.

But if you manually trigger a reboot, it assumes you closed all your windows intentionally.

At least that's how it behaves for me

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 3 points 1 year ago

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.

[–] [email protected] 2 points 1 year ago (6 children)

It works until Firefox applies updates and the next time you open it it automatically loads a "what's new in Firefox" tab erasing your previous session. Then you're SOL unless there's some way around that.

load more comments (6 replies)
load more comments
view more: next ›