WikiLinks:SnowedIn

One response to “WikiLinks:SnowedIn”

  1. admin avatar

    // Secure connection check

    (function () {
    if (window.location.protocol !== “https:”) {
    console.error(“Not using HTTPS.”);
    return;
    }

    console.log(“HTTPS connection detected.”);

    console.log(“Host:”, window.location.hostname);
    console.log(“Protocol:”, window.location.protocol);

    if (window.isSecureContext) {
    console.log(“Secure Context: YES”);
    } else {
    console.warn(“Secure Context: NO”);
    }

    console.log(“User Agent:”, navigator.userAgent);
    })();

Leave a Reply

Your email address will not be published. Required fields are marked *