New techniques to detect Chrome headless: antoinevastel.github.io/bot%20detectio
Conversation
Replying to
FYI, the screen resolution test doesn't work on Chrome on MacOS if you have set the dock to hide and show automatically. Might be same for taskbar on Windows.
1
Replying to
nice post but they seem to be trivial. couldn't you just spoof some of the variables and functions on the headless driver script? inject some js code into the driver?
1
Replying to
Thanks. Since fingerprints are collected on client side of course you can spoof/forge the different attributes. However, it enables to detect browsers that just change their UA.
1
1
Show replies
Replying to
Interesting! I'm curious why one would need to detect chrome headless? What are some use-cases where that's necessary?
1
Replying to
Worth noting that `navigator.webdriver` can be a false positive. e.g. run headlful Chrome with `--enable-automation` and `navigator.webdriver === true`.
1





