cure53/DOMPurify: DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo: (opens in new tab)
DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo: - cure53/DOMPurify [AI Summary] DOMPurify 是一个高性能、易于使用的 JavaScript 库,专门用于清理 HTML、MathML 和 SVG 内容,从而有效防止 XSS 攻击。它支持所有现代浏览器,并提供灵活的配置选项,同时也支持在配合 jsdom 的 Node.js 环境下运行。
Read the original article