Via https://github.com/mbasso/asm-dom? (for example). For every complex self generated challenge there is an even more complex solution?
I bet DOM access in WASM is totally doable, just gonna be a lot harder than how this project implemented it.
Quoted from: https://developer.mozilla.org/en-US/docs/WebAssembly/Concept...