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!

  • radix
    link
    fedilink
    98
    edit-2
    2 years ago

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

    • Aram855
      link
      fedilink
      3
      edit-2
      2 years ago

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

      • oce 🐆OP
        link
        fedilink
        202 years ago

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

        • @Microw@lemm.ee
          link
          fedilink
          22 years ago

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

          • @Vincent@feddit.nl
            link
            fedilink
            22 years ago

            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.

  • @HeavyRaptor@lemmy.zip
    link
    fedilink
    English
    172 years ago

    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)

  • @Lenny@lemmy.zip
    link
    fedilink
    172 years ago

    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.

  • @RagingNerdoholic@lemmy.ca
    link
    fedilink
    English
    102 years 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.

  • SootyChimney [any]
    link
    fedilink
    English
    82 years ago

    As someone who frequently has windows with 1000+ tabs, this feature has saved my bacon countless times.

  • JokeDeity
    link
    fedilink
    72 years ago

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

  • circuitfarmer
    link
    fedilink
    62 years ago

    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.

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

    • @Robmart@lemm.ee
      link
      fedilink
      122 years ago

      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?

      • Kilgore Trout
        link
        fedilink
        English
        32 years 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.

      • @grue@lemmy.ml
        link
        fedilink
        1
        edit-2
        2 years ago

        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.

    • @superfiercelink@lemmy.world
      link
      fedilink
      42 years 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.

    • @Albbi@lemmy.ca
      link
      fedilink
      42 years ago

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

    • oce 🐆OP
      link
      fedilink
      32 years ago

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

    • Aa!
      link
      fedilink
      3
      edit-2
      2 years ago

      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

    • @Mr_Blott@lemmy.world
      link
      fedilink
      12 years ago

      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