aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/fetchLists.ts
AgeCommit message (Collapse)Author
4 daysEliminate innerHTML manipulationOsmium Sorcerer
Construct DOM nodes directly instead of trying to sanitize every input string and dynamically updating HTML. Replace all uses of innerHTML with textContent, replaceChildren, and appendChild. This removes the need to use safeTags and replace newlines, but now requires preserving whitespace via CSS pre-wrap. Every OOC chat line is now placed into its own element instead of simply being appended to the log. This might be worse, and createTextNode is another alternative.
4 daysChange image extension priorityOsmium Sorcerer
Sometimes, WebP icons won't load despite extensions.json clearly defining it as the only extension used for all image data. I suspect there's a race condition between fetching extensions.json, parsing it into client, and checking what extension we should use to get character icons during loading. Sometimes it correctly loads images, sometimes it falls back and starts requesting PNG instead. I couldn't precisely identify where it happens and what's the root cause. As a workaround, this commit instead makes WebP the first-priority extension and a fallback.
2025-09-03remove failed manifestostonedDiscord
2025-09-03also do bgsstonedDiscord
2025-09-03also get backgroundsstonedDiscord
2025-09-03emotionsstonedDiscord
2025-09-03loggingstonedDiscord
2025-09-03get list of extensions to try from hoststonedDiscord
2024-11-20Prettified Code!stonedDiscord
2022-12-11store manifest in clientstonedDiscord
2022-12-11grab manifest filestonedDiscord
2022-11-17not even gonna try, just do itstonedDiscord
2022-11-17still have custom if request failsstonedDiscord
2022-11-17add custom inistonedDiscord
2022-11-17custom is entry 0stonedDiscord
2022-09-09Pulled out everything I wantedCaleb