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

Use sync storage #6

Open
thibaultmol opened this issue Sep 6, 2024 · 2 comments
Open

Use sync storage #6

thibaultmol opened this issue Sep 6, 2024 · 2 comments

Comments

@thibaultmol
Copy link

I know it's just two text fields, but have you considered storing the texts in the sync data https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/sync

That way, when someone reinstalls firefox and logs in with their account, it'll auto sync the settings (in this case those two text fields)

@virtulis
Copy link
Owner

virtulis commented Sep 6, 2024

I do use sync though: https://github.com/virtulis/substitoot/blob/main/src/options.ts

But i haven't checked whether it actually syncs. Maybe there's something more I need to do for it to happen.

@thibaultmol
Copy link
Author

I think I had to manually put it in again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants