Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How about —

  Allow websites to store data on your computer

  [ ] short-term
  [ ] long-term or permanently

  Some websites need to store data for some features, or to work it all. Storing data can also enable them to track you.
And I'd be inclined to blame the state of the web in general.


I'd be tempted to nuance that:

  [ ] Cookies - stored locally and sent to web-sites automatically
  [ ] Local Storage - not automatically sent to web-sites
In all cases I veer towards sharing explicit details. If users choose to not understand it fully that is fine. I don't like 'dumbing-down' or simplifying taking away explicit details with no easy way to get it in the same place as the 'simple' exposition.


That’s a distinction without a difference IMHO.

Local storage (or Cache API, IndexedDB) + Service Worker = Cookies (simply add a header to every request)

Local storage + DOM manipulation to add search params with the stored content = Cookies (apart from first navigation)

And on the flip side

Cookies set using JS + Ignore cookies server side = Local storage

It’s almost like the object/closure equivalence.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: