A five-minute lightning talk from React.js Conf 2016 by Elie Rotenberg on protecting the DOM from tampering. It shows how React tree obfuscation (react-armor) can shuffle class names, tags and tree structure to defeat CSS-selector-based ad blocking.
Why Hacker News points people here: Cited as the origin of react-armor style DOM obfuscation, and as a favourite short talk from the conference.
Five-minute talk showing React obfuscating the DOM tree
Full comment
My favourite talk was only 5 minutes long and came from Elie Rotenberg[0]. He demonstrated how React can be used to completely obfuscate the DOM tree. In practice it seems somewhat malicious to do this, however there may be some legitimate use cases too. [0] this video
Cites ithokkosAug 2016
“Something like react-armor can make cryptographically unpredictable class name, tree structure and tag name obfuscation.”
Talk behind react-armor DOM obfuscation
Full comment
Something like react-armor can make cryptographically unpredictable class name, tree structure and tag name obfuscation. But it won't be enough if the ad itself is not written with the same toolkit. linkthis video
Cites ithokkosAug 2016
“it can make cryptographically unpredictable class name, tree structure and tag name obfuscation.”
Talk behind react-armor DOM obfuscation
Full comment
Or they can already do dom obfuscation like react-armor, it can make cryptographically unpredictable class name, tree structure and tag name obfuscation. linkthis video
Cites itelierotenbergDec 2019
“forward-shuffling the component tree to produce HTML that will be really hard to match using CSS Selectors”
Author's own lightning talk on shuffling the component tree
Full comment
It reminds me of a lightning talk I gave at ReactConf some time ago :) Basically forward-shuffling the component tree to produce HTML that will be really hard to match using CSS Selectors usually found in adblockers and other DOM-targeting scripts. Code: link Video: this video