4 ms·
I guess I'm new to the whole WebAssembly thing. Could you please elaborate more on that statement? If FB were to do that, how does WebAssembly stop you from doi
by hello_newman 9y ago
I guess I'm new to the whole WebAssembly thing. Could you please elaborate more on that statement? If FB were to do that, how does WebAssembly stop you from doing what OP suggested?
- Houshalter 9y agoYou can't modify or block the newsfeed if they don't even have a DOM. Just feed raw pixels to the screen via webasm. And they have some incentive to do that because like many sites, they are in a constant war against scrapers and Adblock.
- bencollier49 9y agoTheoretically, it doesn't. Practically, it would be a complete nightmare, as you'd have to decompile the source code into a high level language, then come up with some kind of (proper) hack, and run a code insertion tool in your browser to reinsert the changes. And they'd probably break any time Facebook altered their code at all, and moreover, FB could use a polymorphic compiler to make such things impossible. And finally, decompiling the program would probably be illegal if it was to circumvent the intended use of the site: https://en.wikipedia.org/wiki/Decompiler#Legality https://en.wikipedia.org/wiki/Decompiler#Legality
- thebokehwokeh2 9y agoI believe the assumption is that WebAssembly code wouldn't run on the typically browser API accessible DOM. Therefore chrome extensions, which operate on accessing markup via JS would now be rendered obsolete.