DEV Community

loading...

Discussion on: Locking javascript to a domain: Part I

Collapse
bangkokian profile image
Bangkokian Author

There's no javascript security solution that is fullproof.

WASM is hard to use in this case since you can't access the DOM directly -- it's very difficult to conceal the error source.

Of course, if you write the whole application in WASM, that's a good route.

Collapse
pero profile image
Pero

You can write parts that do not require dom in wasm. And parse in functions that perform dom operations as a callback

Collapse
pero profile image
Pero

You can write parts that do not require dom in wasm