search

goog.html.sanitizer.noclobber

Module ID

Utility DOM functions resistant to DOM clobbering. Clobbering resistance is offered as a best-effort feature -- it is not available on older browsers such as IE <10, Chrome <43, etc. In some cases, we can at least detect clobbering attempts and abort. Note that this is not intended to be a general-purpose library -- it is only used by the HTML sanitizer to accept and sanitize clobbered input. If your projects needs to protect against clobbered content, consider using the HTML sanitizer and configuring it to defuse clobbering by prefixing all element ids and names in the output.

Exported Functions

Exported Enumerations