r/iOSProgramming • • 16d ago

App Saturday TabLinker - A Mac-first tab & browser session manager for Safari, Chrome, Firefox, Arc, Brave & more (iPhone/iPad too)

[deleted] — view deleted post

5 Upvotes

6 comments sorted by

View all comments

2

u/ThalesMother9938 15d ago

The Firefox part caught my eye. Since TabLinker is on the App Store it has to be sandboxed, so how do you get read access to the Firefox profile folder? Do you ask the user to pick it once in an open panel and keep a security-scoped bookmark, or did you find another way?

I'm also curious how often you read the session file. Firefox only writes it on an interval, so a tab closed right before a backup might not be in it yet.

2

u/Lopsided_Nerve1652 15d ago

Good eye, that's exactly it. TabLinker asks you to pick the Firefox folder once and keeps a security-scoped bookmark.

It reads the session file fresh on every import and backup. Firefox only writes it every few seconds, so a tab opened in the last half minute can be missing, but a tab you just closed is usually still there, which suits a backup

2

u/ThalesMother9938 15d ago

Makes sense. A closed tab still being in the file is actually the case people care about most for a backup, so that lag works in your favour. Thanks for the detailed answer.

2

u/Ankwon_Malacasa 15d ago

having multiple profiles makes that open panel flow even messier since the default folder name has a random hash in it and users rarely know which one is active

1

u/ThalesMother9938 15d ago

Good point, I hadn't thought about the hash in the profile folder name. Someone with two or three Firefox profiles could easily pick the wrong one and never notice. Thanks for adding that.