Spyke
firefox·Firefoxbyoce 🐆

In case you're mad at yourself for closing your precious window with all the right tabs opened, note that Firefox allows to reopen recently closed windows

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!

View original on jlai.lu
lemm.ee

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

99
lemmy.world

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

54
Jay Kreply
lemmy.ml

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.

11
Makiterrreply
iusearchlinux.fyi

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.

26

Ohh, this makes much more sense. Thanks!

4

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.

3

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.

10

You could already do that; it just was a separate keyboard shortcut/menu item before.

2

Yeah! That still works for tabs it looks like, but you have to do Ctrl+shift+N to get closed windows back.

1
Aram855reply
feddit.cl

It got removed from chrome a while ago. Have to use an extension for it.

0
genoreply
lemmy.world

What are you talking about? I used it like 2 days ago last time, no plugins. Not sure if there's a hotkey for reopening a closed window (ctrl shift T?), but you can find it from the menu in upper right corner of the browser.

4

Yeah, same here. I use it fairly regularly because I'm a dumbass who closes the wrong window all the time

2

I actually checked and nope, it's not there. Been like a year since this? what the fuck?

EDIT: I'm a moron. What happened is that before you could reopen one by right clicking any tab and clicking the option, but that option was removed. I never did the "click the empty space after the tabs" thing because I normally run 50 tabs at the same time.

1
moodyreply
lemmings.world

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

32
oce 🐆reply
jlai.lu

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

17
Microwreply
lemm.ee

Hm, was that always the case? I seem to remember me trying to check this years ago and it didnt work then

2
Vincentreply
feddit.nl

Nope, it was literally added this month :) See https://www.mozilla.org/en-US/firefox/116.0/releasenotes/

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.

2

"In anticipation of upcoming changes" sounds ominous :D

1
gruereply
lemmy.ml

Or at least accounts. This ain't the '90s with single-user OSs anymore!

1

I don't know about you, but I don't think I've had separate logins since the 90s, well, outside of my school's computers.

Computers are just so much cheaper today than they were in the 90s.

1
lemm.ee

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

You're welcome

29
sh.itjust.works

I'm not a fan of that shortcut though:

  • Ctrl+T - open new tab; Ctrl+shift+T - reopen closed tab
  • Ctrl+N - open new window; Ctrl+shift+N - reopen closed window
  • Ctrl+P - print (or apparently preview on Lemmy); Ctrl+shift+P - private window?

It breaks the nice pattern.

1
lemmy.sdf.org

Yeah it does break the pattern but there isn't much of an option that keeps everything super clean like tjat, unless it's something like ctrl alt N for a private window.

1

That's last closed tab, not window.

Edit: actually it will reopen a window too if the last closed tab was on it.

-1
infosec.pub

CTRL+SHFT+t

Will reopen your last closed tab.

28
lemmy.ml

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

27
lemmy.ca

Firefox didn’t have it for the longest time so a lot of people don’t know

0
harpuajimreply
lemmy.ml

So we're giving them props for something that's been available on chrome for a decade?

-1
lemmy.zip

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)

16
lemmy.zip

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.

15

Or just Ctrl+shift+N will reopen that window. It has been there for years, perhaps more than a decade, and is the perfect companion to Ctrl+N, just like Ctrl+shift+T is the perfect companion to Ctrl+T.

2

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.

10

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.

6
gruereply

If you want them to be recoverable, then you've got a bit of a misunderstanding about what private browsing mode is for. Not saving history is basically its whole "thing."

1
midwest.social

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

5
chatokunreply
lemmy.dbzer0.com

Not here to defend chrome, but Ctrl+Shift+T works on chrome as well still.

2

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.

4

Waht... I haven't used chrome in years. Unbelievable they'd remove that.

1
lemm.ee

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

5
geddit.social

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

4
Holzkohlenreply
feddit.de

I think it's ALT + SHIFT + S. That is one thing windows gets right. Though I believe they made a new version that is a bit worse for some reason beyond a this mortal's understanding.

2

Ctrl+shift+S will do Firefox's screenshots. Windows key + shift + s is the windows snipping tool to take a screenshot of anything (aside from hdcp content like trying to screenshot a Netflix video that's copy protected).

2

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.

3

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.

3
Robmartreply
lemm.ee

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?

15

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.

3
gruereply

Personally, I'd like it to be able to do it sometimes without having to set it to happen every time. In other words, I'd like a "restore previous session" UI element in the history interface.

I should probably look into some of the extensions folks in this thread are talking about.

1

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

4

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.

4
Aa!reply
lemmy.world

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

3

Any idea why Brave does this by default? I didn't ask it to, but it always opens the ten or so tabs on restart

0

I don't understand this thread, this is exactly what I'm talking about in my OP.

-2

I can only speak for myself, but it's often a kind of to-do list. The tabs stay open until I've completed the tasks.

5

I am sorry to do this to you, but I have minimum of 30 tabs open at all times. Send help.

2

I have at least one Firefox window open on each of about five workspaces, each with anothing up to twenty or thirty tabs open. It's not insanity at all, no way, not at all. What's that nurse? It's time for my dried frog pills? Well ok then.

2

Currently have 5 windows open with 10-30 tabs each. Use them all everyday. Easier to keep tabs open then dig through bookmarks.

That is the purpose of having tabs and multiple windows. They can sit unused until needed.

1

Because I'm continuously using them when I work, it's emails, calendar and chat. They always stay there, the rest varies.

-1

@OP When you have continue session on, closing Firefox using burger menu->Quit restores all windows. I assume this will also keep the pins even without continue session.

2
artemis.camp

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.

2
stemboltsreply
programming.dev

After updates, mine always opens all of my tabs. Maybe check your settings.

I've not started a fresh session of Firefox in years tbh. Not sure why it is different for you.

For reference, holds true on my phone, desktop, sim desktop, programming laptop, hobby laptop, network testing laptop, media laptop, backup management laptop, steam deck, second steam deck, virtual red hat machine, virtual windows machine, and hackintosh. So, a wide variety of environments. Never experienced this issue.

2

Same here (tabs always restored). I'll do an update with Firefox open; eventually it'll make me restart it, but always, tabs are there.

1
vort3reply
lemmy.ml

You're being downvoted or something but it's same for me.

I love Firefox but every time I update it there's this page with "Yay now you're safe because you updated" that randomly can open as a new tab in my existing session or as a new window with a single tab and erase my previous session. And I hate it. Like, this page doesn't give me any useful information, I never asked for it, I can't turn it off, and that's not all of the problem, even more, this stupid page loses my information and undoes my work of opening and arranging my tabs the way I like.

1
vort3reply
lemmy.ml

It might be true but still I don't understand why it has to work like that and it's not intuitive at all.

1

I also like that its PDF viewer opens exactly at where I left it at.

2

I use this several times per day when I close the wrong tab (or window). :)

1

Uh, you can also use these things called bookmarks to save commonly accessed webpages… also this is a feature of literally every web browser since checks notes forever.

-4
kbin.social

I'm still confused. You can delete your history and bookmarks and it is even easier to not create them in the first place, if that's what you want.

3

Are you talking about completely wiping the session?

For example, you open a private window (say, session 1) and bookmark sites while in session 1 to refer to later in the same session. Upon closing session 1 the behaviour you expect is for those bookmarks to be deleted. However in session 2, the bookmarks you created in session 1 are persistent?

2

@PeleSpirit @DarkThoughts not sure if I understand this correctly, please excuse if what I write is beside the point. History and bookmarks are independent. History records whatever site you visit, according to your settings. Bookmarks are different, they are created only if you take action for each bookmark (like using the star in the URL bar or hitting Ctrl+d). They are easily deleted.

1

I don't think you understand what tracking means. If you have an issue seeing your bookmarks then you should delete your bookmarks and not create them in the first place. Same goes for your history, just disable it entirely if you don't want that feature. Neither one have anything to do with tracking though.

1
callyralreply
kbin.social

You mean "recent bookmarks"? Huh, never noticed that was there. I think it's probably locally stored and not really a thing websites can just access.

3
gruereply
lemmy.ml

After reading the parent comment, I [think I] finally understand what you're on about.

  1. There's no reason to suspect the "recently bookmarked" list would be tracked; that's just downright paranoid.

  2. Here's how to disable it.

0
gruereply
lemmy.ml

"Boolean" is true/false.

1
gruereply

boolean is a totally different thing in 3d software. It's where you remove something from another something or combine.

Nah, it's exactly the same thing. 3D software is just applying a Boolean function to two sets of points at the same time, instead of one scaler piece of data like reading a setting.

In other words, Firefox is doing f(a), where f is a unary Boolean function (identity or negation) and a is a single true/false value, while your 3D software is doing f(A, B), where f is a binary Boolean function (union a.k.a. AND, intersection a.k.a. OR, etc.) and A and B are vectors of true/false values representing whether particular points of space are contained within object A or B respectively.

(Some 3D software might be more sophisticated than that, using mathematical expressions of the object boundaries to get exact answers instead of interpolating between points, but I'm just trying to convey the basic concept here.)

2
gruereply

Try changing the capitalization or using "0" instead of false or something. Otherwise, I give up and you should ask for help in a Mozilla forum or chatroom.

2
Acedelgadoreply
artemis.camp

Are you talking about them syncing to your Firefox account? Because you can turn that off or just not sign in.

2
monadreply
programming.dev

The whole point of bookmarks is that they are saved sites so why would they automatically delete them? Also just click on Manage Bookmarks or Manage History and you can delete anything from there… If you don’t want history to be saved then use a private window.

1
monadreply
programming.dev

You don’t want them to save the order of your bookmarks? why

I’m actually very happy to see your comment as it means Lemmy might actually not just be full of tech nerds, because it’s clear you have no idea what you’re talking about or don’t know how to properly communicate your issue.

3

Firefox isn’t tracking your bookmarks and selling it to advertisers, Firefox is open source. They keep your bookmark order as convenience so that you can have them in the order you like. Same goes for history, it’s just a tool to see what sites you’ve visited if you’re trying to get back to one, it’s not tracking you.

1
lemmy.sdf.org

...but you can?

Right click any bookmark under the hamburger menu, and select Delete Bookmark. It deletes. You can also delete all in the bookmark manager. But those seem like a non-issue, since they have to be manually created.

Same thing works under History in the hamburger menu. Right-click any item in history and select Delete Page. It deletes. Same as above, all can be deleted in manager or by selecting Clear Recent History > Time Range to Clear = Everything.

Firefox will not store history at all if you go to Settings > Privacy and Security > set "Firefox will" to "Never remember history".

So..... ?

0
lemmy.sdf.org

You can't right click and delete it from the history.

I tried it before commenting. You can.

But if it's saving your history while being set otherwise, it sounds like you have a config issue.

2
lemmy.sdf.org

It's going to be hard to diagnose, ultimately (e.g. what system are you running it on? What version of Firefox is it?). But the short answer is: it's always possible something is compromised. You could uninstall it completely and reinstall fresh from Mozilla (again), in which case you should see identical behavior to what myself and others have mentioned.

1
kbin.social

Wait, what? You don't want them to save bookmarks? Then what is the use of a bookmark? And you can definitely set your browser to erase your history every time you close it.

-1

I don't see it as an issue since its locally stored if you don't have sync turned on. This will only be an issue if your device is compromised, and in such instances your bookmarks would be the least of your worries.

-4