feat(web/js): allow running Anubis in non-secure contexts

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2025-08-01 22:35:26 +00:00
parent a04620ed61
commit 64e2d0d4ed
No known key found for this signature in database

View File

@ -108,15 +108,6 @@ const t = (key) => translations[`js_${key}`] || translations[key] || key;
progress.style.display = "none"; 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'); status.innerHTML = t('calculating');
for (const { value, name, msg } of dependencies) { for (const { value, name, msg } of dependencies) {