Back to Content

Window: isSecureContext property

files/en-us/web/api/window/issecurecontext/index.md

latest433 B
Original Source

{{APIRef("DOM")}}

The isSecureContext read-only property of the {{domxref("Window")}} interface returns a boolean indicating whether the current context is secure (true) or not (false).

Value

A boolean.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also