The global isSecureContext
read-only property returns a boolean indicating whether the current context is secure (true
) or not (false
).
The global isSecureContext
read-only property returns a boolean indicating whether the current context is secure (true
) or not (false
).
Boolean true
or false
.
Specification |
---|
HTML Standard # dom-issecurecontext-dev |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
isSecureContext |
47 | 15 | 49 | No | 34 | 11.1 | 47 | 47 | 49 | 34 | 11.3 | 5.0 |
worker_support |
55 | 15 | 52 | No | 40 | 11.1 | 55 | 55 | 52 | 41 | 11.3 | 6.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/isSecureContext