Hacker News new | ask | show | jobs
by eboyjr 2943 days 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/262a2e604b1adb3d8...
1 comments

Good 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