VOOZH about

URL: https://www.geeksforgeeks.org/html/svg-window-issecurecontext-property/

⇱ SVG Window.isSecureContext Property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG Window.isSecureContext Property

Last Updated : 31 Mar, 2022

The SVG Window.isSecureContext property indicates whether a context is capable of using features that require Secure Contexts.

Syntax:

var isSecure = window.isSecureContext

Return value: This property returns the boolean value

Example 1: In this example, we will use onclick event.

Output:

👁 Image

Example 2: In this example, we will use onmouseover event.

Output:

👁 Image

Supported Browsers:

  • Google Chrome
  • Edge
  • Firefox
  • Safari
  • Opera
Comment