Firefox for Web Developers@webdevs.firefox.com25 FebYou can throw away innerHTML and replace it with the new setHTML(), which has a built-in sanitizer. Here's how it works:624155
Firefox for Web Developers@webdevs.firefox.comIt feels doable, but I don't think there's one right now that conforms to the modern spec.25/2/26, 3:01 pm·0 reposts·2 likes