Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out a more reliable way of mapping tabs on browser startup #11

Open
bitspook opened this issue Mar 5, 2022 · 0 comments
Open
Labels
cold Up for discussion but not for implementation

Comments

@bitspook
Copy link
Owner

bitspook commented Mar 5, 2022

Firefox resets the tabIds when it restarts. So we use org-ids for identifying
saved tabs. This works once the browser is up and running, since all the tabs
are kept in sync (unless user manually unchains a tab, in which case we don't
updated saved entry).

One solution for this can be keeping a local storage of tabs and their saved
IDs. But that has a small challenge as well; MDN recommends that we don't use
localStorage, but storage.local is extension wide; not tab local.

Besides, I am not sure how big a problem this is going to be. I am parking this
issue here as a documentation of this behavior. We'll pick it up when and if we
want it solved.

@bitspook bitspook added the cold Up for discussion but not for implementation label Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cold Up for discussion but not for implementation
Projects
None yet
Development

No branches or pull requests

1 participant