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

Libremdb cannot be used with cookies (or storage?) disabled #31

Closed
user451421541757324 opened this issue Jan 19, 2023 · 2 comments
Closed
Labels
type: bug Something isn't working

Comments

@user451421541757324
Copy link

I use this extension to browse with cookies disabled, however when using Libremdb I get this error:
Application error: a client-side exception has occurred (see the browser console for more information).

Console says:
DOMException: The operation is insecure.
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
Uncaught Error: Minified React error #423; visit https://reactjs.org/docs/error-decoder.html?invariant=423 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Enabling cookies again (via extension) makes Libremdb work.

@zyachel zyachel added the type: bug Something isn't working label Jan 22, 2023
zyachel added a commit that referenced this issue Jan 22, 2023
this commit fixes a crash due to unavailability of localStorage

#31
@zyachel
Copy link
Owner

zyachel commented Jan 22, 2023

Thanks for the additional info.
Apparently, browsers prevent localStorage access if cookies are disabled. I've added a check for that.
Let me know if the issue is still there.

@zyachel zyachel closed this as completed Jan 22, 2023
@user451421541757324
Copy link
Author

Let me know if the issue is still there.

Now it works perfectly. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants