News for hackers. Stuff that matters.
Re:We ditched Google Analytics by XCSme on Monday June 01, 2020 @01:16PM (#23380977)
The biggest advantage of localStorage is that it is, as its name implies, "local" to the site you are visiting. Cookies can be shared accross domains and sites you visit, but localStorage can not. If one on domain you store `localStorage.ID = 5`, you can not read that from another domain, as `localStorage.ID` will be undefined in a different domain context.

There are no comments on this comment yet.