Boosted by slightlyoff@toot.cafe ("Alex Russell"):
firefoxwebdevs ("Firefox for Web Developers") wrote:
You can throw away innerHTML and replace it with the new setHTML(), which has a built-in sanitizer. Here's how it works:
Attachments:
- video: 6c80e04b5cc9f08b.mp4