admin 2026-07-14 at 12:38 AM // 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); })(); Reply
// 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);
})();