Web platform features explorer

isSecureContext

Widely available since 2020-10-12
Tags: api

The isSecureContext global property is a boolean for whether the current browsing context is secure. This is primarily a check that the page has been served over an HTTPS URL.

Learning resources on MDN

Browser support

Specifications