๐จ๐ผ๐ป๊ฐ๋ฐ/puppeteer
puppeteer - Hairline Feature ์ฐํ
Janger
2022. 10. 13. 15:53
728x90
await page.evaluateOnNewDocument(() => {
Object.defineProperty(HTMLDivElement.prototype, 'offsetHeight', {
get: function() {
if (this.id === 'modernizr') {
return 1;
}
return elementDescriptor.get.apply(this);
},
});
});
์ถ์ฒ:
https://intoli.com/blog/making-chrome-headless-undetectable/
Making Chrome Headless Undetectable
Using MitmProxy and injected JavaScript feature mocks to bypass Headless Chrome detection tests.
intoli.com
728x90