This commit is contained in:
velzie 2024-10-24 15:12:02 -04:00
commit 7bea0c60af
No known key found for this signature in database
GPG key ID: AA51AEFB0A1F3820
20 changed files with 359 additions and 248 deletions

View file

@ -1,3 +1,11 @@
// dumb hack to allow firefox to work (please dont do this in prod)
if (navigator.userAgent.includes("Firefox")) {
Object.defineProperty(globalThis, "crossOriginIsolated", {
value: true,
writable: false,
});
}
importScripts(
"/scram/scramjet.wasm.js",
"/scram/scramjet.shared.js",