cross-posted from: https://lemmy.world/post/2287782

Personally, while I’ve been using Tab Session Manager for years, I’ve had lots of issues with it. There have been a few times where all my sessions would be completely wiped after restarting Firefox or having it crash, which is why I have the backup folder setting enabled. Very occasionally within the past few years, but much more often lately, when I’d try to restore sessions, all of which consist of 100s of tabs, I’d find a bunch of tabs missing, being replaced with blank new tab pages. Also note that this has happened across different computers and Firefox installations.

Looking at the changes / commits made to the extension since its last update made last September, the developer has only updated the readme page and a few other non-code related things. there are hundreds of unaddressed issues on the repo.

It seems like I should really move away from it, what are alternative extensions you would recommend?

  • QuazarOmega@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Now I doubt that this is the problem, because those pages shouldn’t become completely blank, but here’s an explanation:

    A single page application is like a native app in the way it behaves, but made with web technologies and manually fit to the browser workflow, in the older, standard approach we just delivered single web pages and maybe added a little interactivity on top with JavaScript so we had routes like these:

    • example.org/index.html
    • example.org/about.html
    • etc.

    Each page is its own html file and you access it with its path.
    Now there is no rule that what goes into the URL bar should match 1 to 1 with the filesystem on the server so you could go on example.org/news.html and actually get served a page that is under 2023/07/28/something-interesting.html, there is logic running on the server that decides that if a client requests the news page, the server should send over today’s news page.
    You’ll see that all the time when you try to go to a page that doesn’t exist anymore and so you are redirected to example.org/404.html saying you asked for some resource, but it wasn’t found.

    In the same vein you can handle these routes on the client , you could send all the content to the user when they enter example.org, but you let JavaScript take care of what to display, so all the text of index, about, etc. is already on your PC and by clicking the links, which will have the same format, maybe minus the .html (though you could absolutely do that before too, just that here it conveys a specific meaning that in fact you aren’t sending requests for html files, but just “routes”):

    • example.org/index
    • example.org/about
    • etc.

    And even if those links appear in your URL bar they have all been resolved on the client with JavaScript, by simply changing the content appearing on the screen and never getting a completely new page, that would have no problem always resolving.

    But when adding state to the mix, where you have something that is really a web app, you can’t always get the same thing back, suppose I have a task list (in reference to technical React example) and create two items, I click on the second and I get example.org/tasks/2, I send you that link and you open the page for the first time on your computer, it won’t work, it will probably fall back to a home route, because your state was different than mine, you had no task 2 yet, this is also called deep-linking. For that to work you have to store that state and since you’re working in the browser you have to rely on its storge APIs, usually there is no storage that is guaranteed to be permanent on a browser, because its settings could affect when/if the storage gets cleared and suddenly I can’t see my task 2 anymore either after some time.

    • TheTwelveYearOld@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      11 months ago

      That’s a good explanation. I knew some of it, but I don’t see why the tabs have to be blank. Even I have pages with deep links, I just want a session manager to save all the opened URLs and restore them without having any blank pages.

      • QuazarOmega@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        11 months ago

        Yes, in fact I did say I doubt that’s the problem. I suggest you try either Simple Tab Groups or Sidebery, I never had issues with those with hundreds of tabs (I may have a slight issue with tab management XD), but they probably don’t cover all the features of this extension