aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleSM.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.
2024-11-20Prettified Code!stonedDiscord
2023-09-08remove loading bar because wiso is a whining about load timesstonedDiscord
2022-09-09Migrated functionsCaleb
2022-09-08Add Sender supportCaleb
2022-08-30More packets movedCaleb