2 ms·
If there were a simple to examine and pick through localstorage, maybe. Of course if there were, localstorage would be intentionally obfuscated.
by pessimizer 4y ago
If there were a simple to examine and pick through localstorage, maybe. Of course if there were, localstorage would be intentionally obfuscated.
- jefftk 4y agoIt's relatively straightforward. You open the console, type window.localStorage, and poke around. On the article I see: > window.localStorage Storage {dark-mode-toggle: 'light', cid: '2722...', length: 2} Ignore the "length" (implementation detail) and you can see it's storing whether I've turned on dark mode and some id that's likely per-user. If I switch the page to dark mode I see instead: > window.localStorage Storage {dark-mode-toggle: 'dark', cid: '2722...', length: 2}
- easrng 4y agoYou could also just use the Storage tab in the devtools of your browser of choice, Chrome and Firefox at least both provide a GUI for looking at storage. Not sure what all Chrome's shows, but Firefox's shows Cache Storage, Cookies, IndexedDB, LocalStorage, and SessionStorage.