Widely available Supported across all major browsers. Safe to use in production.

Browser support

Feature Desktop Mobile
Chrome
Edge
Firefox
Safari
Chrome Android
Safari iOS
47
15
49
11.1
47
11.3
worker_support

Available in workers

55
15
52
11.1
55
11.3
1+Supported (version) Not supported Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)

Use cases

  • Using isSecureContext

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

Cautions

  • May not be supported in older browsers.

Implementation notes

  • Some APIs require a secure context (HTTPS) or user activation. Check the requirements before use.