Greasy Fork is available in English.

Diskussionen » Entwicklung

What's the policy for wasm modules in userscript?

§
Veröffentlicht: 20.02.2022

I need to embed a wasm module in my script, so I wanna ask what's the policy for wasm modules?
Does it count as "minimized script" since there is no way to ship a source code and compile on the fly.
Can the script embed a base64 string of the compiled module in the script, or only via `@resource`?

§
Veröffentlicht: 20.02.2022

I would say all normal rules apply, but I don't much about wasm. If it's hosted on a CDN then it's fine, minimized or not.

§
Veröffentlicht: 21.02.2022

Thanks, I see.

Antwort schreiben

Anmelden um eine Antwort zu senden.