AgnosticHTML: A utility function that safely parses HTML strings into DOM nodes, avoiding the use of innerHTML for security reasons.
-
Updated
Oct 9, 2024 - JavaScript
AgnosticHTML: A utility function that safely parses HTML strings into DOM nodes, avoiding the use of innerHTML for security reasons.
AgnosticRun is a lightweight utility for ensuring a DOM element exists before executing a function in vanilla JavaScript.
Add a description, image, and links to the safe-dom topic page so that developers can more easily learn about it.
To associate your repository with the safe-dom topic, visit your repo's landing page and select "manage topics."