this post was submitted on 02 May 2024
44 points (97.8% liked)

Firefox

17301 readers
95 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

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.

all 22 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 6 months ago (1 children)

just.. bookmark folder? menu -> bookmarks -> "..." on the bookmark folder you want -> open all in private tabs?

[–] [email protected] 1 points 6 months 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!

[–] [email protected] 2 points 6 months ago (1 children)

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.

[–] [email protected] 3 points 6 months ago (1 children)

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.

[–] [email protected] 2 points 6 months ago

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.

[–] [email protected] 1 points 6 months ago (1 children)

Use URLList. Essential when doing research

[–] [email protected] 1 points 6 months ago

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

[–] [email protected] 1 points 6 months ago (1 children)

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.

[–] [email protected] 1 points 6 months ago (1 children)

Can't find tabstash.

Looks like onetab doesn't do anything on android.

[–] [email protected] 1 points 6 months ago (1 children)

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.

[–] [email protected] 1 points 6 months ago

Yeah, seen that too.

[–] [email protected] 1 points 6 months ago (1 children)

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

[–] [email protected] 1 points 6 months ago (1 children)

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

[–] [email protected] 2 points 6 months ago (1 children)

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?
[–] [email protected] 1 points 6 months 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.

[–] [email protected] 1 points 6 months ago (1 children)

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.

[–] [email protected] 1 points 6 months ago (1 children)

Does OneTab work for you on mobile FF?

[–] [email protected] 1 points 6 months ago

I kinda assumed it would work because I saw in the Firefox addon store that it's available. I'm gonna have try it out later.

[–] [email protected] 1 points 6 months ago (1 children)

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)

[–] [email protected] 1 points 6 months ago

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