HelloZeroNet / HelloZeroNet/ZeroNet

Cannot use ZeroNet in Private Browsing due to localStorage

Open
#828 2 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

Using any browser that properly implements localStorage isolation during Private Browsing (tested using Gecko and Webkit based browsers), the pages only load the ZeroNet wrapper, while pages remain otherwise blank.

It is important to use Private Browsing to avoid caching and other privacy concerns.

Per the browser's debugger, the problem lies on all.js, Line 4030.
if (Page.local_storage.sites_orderby === "modified") {
Error: null is not an object (evaluating 'Page.local_storage.sites_orderby')

Also Line 4820:
data = localStorage.getItem("site." + _this.site_info.address + "." + _this.site_info.auth_address);
Error: null is not an object (evaluating 'localStorage.getItem')

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.