From 64e2d0d4eda98d7eb35a0b1357daddac3f2008cd Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Fri, 1 Aug 2025 22:35:26 +0000 Subject: [PATCH] feat(web/js): allow running Anubis in non-secure contexts Signed-off-by: Xe Iaso --- web/js/main.mjs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/web/js/main.mjs b/web/js/main.mjs index d9d96c9..d77a6ff 100644 --- a/web/js/main.mjs +++ b/web/js/main.mjs @@ -108,15 +108,6 @@ const t = (key) => translations[`js_${key}`] || translations[key] || key; progress.style.display = "none"; }; - if (!window.isSecureContext) { - ohNoes({ - titleMsg: t('context_not_secure'), - statusMsg: t('context_not_secure_msg'), - imageSrc: imageURL("reject", anubisVersion, basePrefix), - }); - return; - } - status.innerHTML = t('calculating'); for (const { value, name, msg } of dependencies) {