Window: isSecureContext property
BaselineWidely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2018.
TheisSecureContext
read-only property of theWindow
interface returns a boolean indicating whether the currentcontext is secure (true
) or not (false
).
Value
A boolean.
Specifications
Specification |
---|
HTML # dom-issecurecontext-dev |