Page 1 of 1

Webassembly and asm.js

Posted: Thu Jul 26, 2018 6:25 pm
by jawz101
Hello, I was wondering if/how NoScript addresses webassembly and asm.js? From what I understand, both are powerful and complement javascript. I also gather they are both currently popular for cryptomining.

If NoScript ever supports blocking webassembly and/or asm.js would it be treated as script or other? And, if javascript, would it be separate but equal to javascript? Like, if I allow 1st party javascript I may not necessarily want to allow 1st party webassembly.

Thanks!

Re: Webassembly and asm.js

Posted: Thu Jul 26, 2018 8:04 pm
by Giorgio Maone
They're currently treated as equal because a webpage needs to run JavaScript in order to launch webassembly programs (which, BTW, are far from being "more powerful", providing just a subset of the JavaScript-accessible brower features: they're just faster).