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
    4
    arrow-down
    1
    ·
    1 year ago

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

    • vort3@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      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!

  • kabi@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    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
      ·
      1 year ago

      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
    ·
    1 year ago

    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
      ·
      1 year ago

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

        • vort3@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          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.

    • vort3@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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

  • Chicagoz@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    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
      ·
      1 year ago

      Can’t find tabstash.

      Looks like onetab doesn’t do anything on android.

      • Chicagoz@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        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.

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