3 ms·
> we have developed a solution which removes the property from the web browser and thus prevents these kind of protections from figuring out that the browser is
by eboyjr 8y ago
> we have developed a solution which removes the property from the web browser and thus prevents these kind of protections from figuring out that the browser is automated
Eli Grey and I have bypassed your "hideWebDriver()" function[1] in a single line of code:
if (navigator.webdriver || (Navigator.prototype && Object.getOwnPropertyDescriptors(Navigator.prototype)["webdriver"])) {
// Chrome headless detected - navigator.webdriver exists or was redefined
}
[1]: https://github.com/apifytech/apify-js/blob/262a2e604b1adb3d8ef96579dc1db87bc9077bb0/src/puppeteer_utils.js#L13-L51 https://github.com/apifytech/apify-js/blob/262a2e604b1adb3d8...
- jardah 8y agoGood point. Haven't seen a single detection library do this, but at least now I know, that I still need to work on alternative solution. Thanks