aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/changeCallwords.ts
AgeCommit message (Collapse)Author
5 daysReplace cookies with localStorageOsmium Sorcerer
Cookies's use case is to store persistent data and send it to the server in subsequent requests, such as to remember logged-in sessions. WebAO is using them to store site settings like ad-hoc hash tables that require parsing and serialization. As a nasty side-effect of how cookies work, clients send all their settings every time they connect to the server. Server has absolutely no use for them, but each client sends them anyway, which is an uncalled-for privacy leak. Remove this mechanism entirely, switch to localStorage which serves exactly the purpose of per-origin store with data that never leaves the browser.
2024-11-20Prettified Code!stonedDiscord
2022-09-07Added more functionsCaleb