HelloZeroNet / HelloZeroNet/ZeroNet
How to use localStorage?
- Langage dominant
- JavaScript
- Étoiles
- 18.8k
- Forks
- 2.3k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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**?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- frontend, security
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100