Is there an android compatible firefox addon that can copy all open tab URLs to clipboard or export to a file and load back?
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.
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.
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.
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.
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.
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?