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@lemm.ee
    link
    fedilink
    arrow-up
    72
    arrow-down
    1
    ·
    3 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).

  • HeavyRaptor@lemmy.zip
    link
    fedilink
    English
    arrow-up
    15
    ·
    3 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
    arrow-up
    14
    ·
    3 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.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      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.

  • JokeDeity@lemm.eeBanned from community
    link
    fedilink
    arrow-up
    6
    ·
    3 years ago

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

  • RagingNerdoholic@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 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.

  • entropicshart@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    arrow-down
    2
    ·
    3 years ago

    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
      arrow-up
      12
      ·
      3 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@feddit.it
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 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
        arrow-up
        1
        ·
        3 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.

    • Albbi@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

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

    • oce 🐆@jlai.luOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      7
      ·
      3 years ago

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

  • circuitfarmer@lemmy.sdf.org
    link
    fedilink
    arrow-up
    4
    ·
    3 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.