Didn’t want to make title too long, sorry. By load back I mean read from clipboard or from a file or have an input box to paste from clipboard a lost of URLs and open each in a tab.

On my phone (it’s a MIUI device) firefox sometimes acts weird, I can see URL in a tab but page looks empty. I can copy the URL manually, close the tab, open a new one, but this can be annoying if I have many tabs and this also changes the tab order.

Also, no, I can’t just close firefox and open it again, as I mostly use firefox in private mode.

I just want to copy all open URLs, restart firefox, and open all my tabs in private mode again in the same order by pasting URLs back.

Also, android aften kills my firefox when it’s in the backgroind without any warning.

Last time I searched, I couldn’t find any such addons, but it’s possible that I used wrong keywords.

  • Malix@sopuli.xyz
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    7 个月前

    just… bookmark folder? menu -> bookmarks -> “…” on the bookmark folder you want -> open all in private tabs?

    • vort3@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      7 个月前

      Is there an option to save all open tabs into a bookmark folder, turn open back that bookmark folder into tabs?

      After that I’ll definitely will delete that folder. Wish there was a way to keep that folder unsynced as well.

      I’ll definitely try this, thanks!

  • thegreekgeek@midwest.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 个月前

    You can’t do this on mobile directly, but you might be able to it via the desktop app of you have Firefox sync and one tab installed.

    The tldr is open all the tabs in desktop, onetab them, then share that list back to your mobile via onetab’s share as webpage feature.

    • vort3@lemmy.mlOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      7 个月前

      It’s funny that my device that is as powerful as a dozen of computers were ten years ago can’t do a thing as simple as save a bunch of lines into a plaintext file and then read this plaintext file and open each line without a desktop.

      Thanks for suggestion.

      • thegreekgeek@midwest.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 个月前

        Yeah the way Firefox or Android optimizes tabs makes it difficult. I tried using onetab on my phone and it only pulled the tabs I had opened or switched to in that session.

  • Chicagoz@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    7 个月前

    Tabstash would’ve been my initial suggestion, but it doesn’t seem to be available for mobile. Onetab was what I ended up using when I wanted to do something similar to what you’re wanting to do.

    • vort3@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      7 个月前

      Can’t find tabstash.

      Looks like onetab doesn’t do anything on android.

      • Chicagoz@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        7 个月前

        Yeah, I knew about the unavailability of Tabstash, which is unfortunate. It would be the best option. However, I learned something about Onetab today - I thought it was strange that you couldn’t get it to work, when I used it just the other day on Android. But if you look at the FAQs in the Details section (see attached screenshot), it only can save the ‘active tabs’ as dictated by Firefox Mobile, so in that sense it’s not ideal.

    • vort3@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      7 个月前

      On Android this only copies the URL of current tab, not of all tabs.

  • I think the best option is to use OneTab’s export feature and clean it up with some regex \|(?<=\|)[^\]]+ (got it from StackOverflow but can’t find the thread anymore) to remove all the crap at the end. At least that’s what I’ve been doing because I haven’t found a better solution yet.

  • kabi@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    7 个月前

    Can’t help with your question, sorry.

    When that happens to me in firefox, changing to another tab and back usually fixes it.

    You can turn off miui optimizations to stop it from immediately killing every app you leave in the background.

    (and not to digress but you shouldn’t use a stock miui rom if you care about privacy)

    • vort3@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      7 个月前

      If only there was a way to disable MIUI optimization or change ROM witgout losing all your app data in 2024…

  • pssk@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    7 个月前

    You can save tabs to a collection and it has the option to open all it’s tabs

    • vort3@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      7 个月前

      I’m sorry, where’s the button to save all private tabs to collection?

      • LWD@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        7 个月前

        You can multi-select regular tabs to add them to a collection, but not private ones. And even if you did add each private tabs to a collection one at a time, the “open tabs” option only opens them as regular tabs, not private ones.

        Instead of private tabs, have you considered

        • using the “delete browsing data on quit” option in Firefox, or
        • downloading a second browser like Mull with that option enabled for your “private tabs” instead of Firefox?
        • vort3@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          7 个月前

          I do have multiple browsers, for multiple purposes.

          Maybe one more won’t hurt.

          Too bad Mozilla treats private tabs differently from regular tabs though.