NO_DOCUMENT_WRITE
Conformance is available on Enterprise plans
Calls to or manipulate DOM directly without any sanitization and should be avoided.
Furthermore, these APIs can also cause performance issues and trigger will clear the page contents if used after page load.
Avoid usage of entirely in your application, and instead either use UI framework like React to handle writing to the document, or use safer DOM APIs, such as instead.
Was this helpful?