paulirish / headless-cat-n-mouse

Is headless chrome currently detectable? Let's pit the detections and detection evasions against eachother.
Apache License 2.0
640 stars 56 forks source link

Detect Chrome headless using webdriver #14

Closed antoinevastel closed 6 years ago

antoinevastel commented 6 years ago

Instead of testing if webdriver is true we test for its presence using the in operator. It would also work with hasOwnProperty.

paulirish commented 6 years ago

sg. this is a more typical way of doing feature detection anyway.