4 ms·
I am skeptical that the rules are quite that strict, as long as you don't use them for any other purpose (in particular fingerprinting). Limiting the lifetime o
by CodesInChaos 4y ago
I am skeptical that the rules are quite that strict, as long as you don't use them for any other purpose (in particular fingerprinting). Limiting the lifetime of the stored preference (e.g. by using `sessionStorage` instead of persistent `localStorage`) and never sending it to the server should help as well when arguing that storing this was necessary for what the user requested.
Unfortunately there is no session-cookie equivalent for the `Storage` API. `sessionStorage` doesn't carry over to other tabs, and `localStorage` is persistent without the option to set an expiry date.