Window: thuộc tính isSecureContext
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2018.
The isSecureContext read-only property of the Window interface returns a boolean indicating whether the current context is secure (true) or not (false).
Giá trị
A boolean.
Đặc tả kỹ thuật
| Thông số kỹ thuật |
|---|
| HTML> # dom-issecurecontext-dev> |