localStorage
Browser API for storing small amounts of data (5-10 MB) per domain — persists until explicitly cleared.
Synchronous key-value API: localStorage.setItem('theme','dark'). Strings only; use JSON.stringify for objects. Not a secure place — any script on the page can read it.