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

Indexed DB #36

Open
tonxxd opened this issue Mar 10, 2020 · 1 comment
Open

Indexed DB #36

tonxxd opened this issue Mar 10, 2020 · 1 comment

Comments

@tonxxd
Copy link

tonxxd commented Mar 10, 2020

Hi,
I am trying to use ImmortalDB to store a counter.

I am storing the value in Local, Indexed and Cookie storage and it works well.
When I clear values (I use Forget me chrome extension) it correctly clears Local and cookie storage but not Indexed (and this is perfect for me because I don't want the counter to be erased by the common user).
But when I reload the page and trying to get the counter value it returns undefined even if chrome dev shows it in Indexed db tab.

Is it possible for ImmortalDb to replicate data from this db to the others if the value is missing in them?

Thanks

@gruns
Copy link
Owner

gruns commented Mar 10, 2020

Wonderful report. Thank you.

I created #37, which will help resolve this.

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