Window: isSecureContext property
The isSecureContext read-only property of the Window interface returns a boolean indicating whether the current context is secure (true) or not (false).
Value
A boolean.
Specifications
Browser compatibility
See also
这篇文档对你有帮助吗?
谢谢你的反馈!