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

Anonymous mode fails in Firefox private mode #104

Open
ivandotv opened this issue Oct 13, 2021 · 1 comment
Open

Anonymous mode fails in Firefox private mode #104

ivandotv opened this issue Oct 13, 2021 · 1 comment

Comments

@ivandotv
Copy link
Owner

Since anonymous mode depends on IndexedDB it fails in Firefox private mode ( IDB is disabled in FF private mode).

@ivandotv
Copy link
Owner Author

Possible solution:
step 1: Detect error when opening IndexedDB, and notify the user.
step 2: Switch to simple in-memory storage, which will be lost when the user closes the window, and that's okay since that is expected when using private mode.

fake indexeddb can be used for 1 to 1 in-memory mapping of IndexedDB API.

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

1 participant