Hacker News new | ask | show | jobs
by walterbell 2576 days ago
> For instance, Safari doesn't allow localstorage while in incognito.

Isn't that good for privacy? Localstorage can store unique IDs and other data about the client's past behavior, it's much more dangerous than cookies.

1 comments

It would be nice if localstorage worked in a new instance in incognito. This way webapps that require it can still function without affecting non-incognito tabs. What other privacy concerns would there be I'm wondering?
If incognito mode discards localstorage, there is risk of silent data loss. E.g. imagine a web-based editor that saved drafts.

Websites can detect the absence of localstorage and change their behavior, e.g. notify the user that information will be lost after the session ends.