HelloZeroNet / HelloZeroNet/ZeroNet

How to use localStorage?

Open
#1,399 53 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

I need to connect localStorage to remember the user's actions.
But I get an error
`Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag.`
We can bypass or add **allow-same-origin**?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the browser sandbox and embedded-site handling related to the reported localStorage access. Reproduce the DOMException, then trace how sandbox flags are configured and whether localStorage is used elsewhere. Done means the issue has a documented or implemented resolution that preserves the intended security boundary.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.