MathMLElement: nonce property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The nonce property of the MathMLElement interface returns the nonce that is used by Content Security Policy to determine whether a given fetch will be allowed to proceed.
Value
A String; the cryptographic nonce, or an empty string if no nonce is set.
Specifications
| Specification |
|---|
| HTML> # dom-noncedelement-nonce> |
Browser compatibility
See also
HTMLElement.noncea similar method for HTML elements.nonceglobal attribute- Content Security Policy
- CSP:
script-src