4 ms·
How do you ensure that your deletion code runs in the context of the hosted page but before that page can run any of its own code?
by masklinn 9y ago
How do you ensure that your deletion code runs in the context of the hosted page but before that page can run any of its own code?
- dragonwriter 9y agoFrom the original article, you put a proxy in front of Chrome headless and inject the deletion code into the HTML of each page before any JS loaded by the page.
- jevinskie 9y agoSo now the page needs to checksum itself once loaded to detect tampering.
- masklinn 9y agoYou'd get false positives from e.g. extensions modifying the page.
- TeMPOraL 9y agoWhich, for 99% of extension-equipped users, will be just an ad blocker, i.e. something the websites don't want to deal with either. The arms race goes on.
- kondro 9y agoOr you could just rewrite the JS that does the checksumming to return true.