aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleSI.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.
2026-02-07Defer char.ini loading and use direct img src for char iconsDavid Skoland
Instead of eagerly fetching char_icon (with HEAD requests per extension) and char.ini for every character on join, set img.src directly to char_icon.png and defer char.ini loading until actually needed (character selection via handlePV, or first IC message via handleMS). This eliminates thousands of HTTP requests on join for large character lists. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2025-09-28move extension fetch after ASSstonedDiscord
2024-11-20Prettified Code!stonedDiscord
2024-07-12deprecate fastloading FLstonedDiscord
2024-03-07this is no longer the casestonedDiscord
2023-09-08remove loading bar because wiso is a whining about load timesstonedDiscord
2022-09-08Add Sender supportCaleb
2022-08-30A buncha moreCaleb