News for hackers. Stuff that matters.
Re:How Social Media is Built for Addiction by hello_newman on Thursday May 25, 2017 @01:32PM (#14418729)
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?
Re:How Social Media is Built for Addiction by bencollier49 on Thursday May 25, 2017 @01:43PM (#14418813)
Theoretically, 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

Re:How Social Media is Built for Addiction by Houshalter on Thursday May 25, 2017 @01:40PM (#14418784)
You 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.
Re:How Social Media is Built for Addiction by thebokehwokeh2 on Thursday May 25, 2017 @01:45PM (#14418820)
I 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.