From 1555f2c81ee223d1e923050841bd8ba4bfe6e11c Mon Sep 17 00:00:00 2001 From: Fijxu Date: Sun, 20 Apr 2025 17:23:17 -0400 Subject: [PATCH 3/3] disable secure context --- web/js/main.mjs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/web/js/main.mjs b/web/js/main.mjs index 7203bfd..d250aa8 100644 --- a/web/js/main.mjs +++ b/web/js/main.mjs @@ -100,14 +100,14 @@ function showContinueBar(hash, nonce, t0, t1) { progress.style.display = "none"; }; - if (!window.isSecureContext) { - ohNoes({ - titleMsg: "Your context is not secure!", - statusMsg: `Try connecting over HTTPS or let the admin know to set up HTTPS. For more information, see MDN.`, - ...(enableMascot && { imageSrc: imageURL("reject", anubisVersion) }), - }); - return; - } + // if (!window.isSecureContext) { + // ohNoes({ + // titleMsg: "Your context is not secure!", + // statusMsg: `Try connecting over HTTPS or let the admin know to set up HTTPS. For more information, see MDN.`, + // ...(enableMascot && { imageSrc: imageURL("reject", anubisVersion) }), + // }); + // return; + // } // const testarea = document.getElementById('testarea'); -- 2.49.0