Remix.run Logo
galaxy_gas 9 hours ago

the code seems like poorly generated ai with unnecessary comments in different languages.

there's no explanation for why certain actions or choices are made.

it doesn't make sense why phantomjs gets a score of 7 while chrome headless gets 8, or why phantomjs and selenium aren't considered headless browsers or automation tools. why the most common legitimate screen resolution is flagged as suspicious or why tools like curl or wget which download conten, are running javascript instead. they would be in a stack that checks ua server side, not in js

gruez 5 hours ago | parent [-]

Yeah, some parts of the code that obviously don't make any sense:

https://github.com/Lorenzo-Coslado/fingerprinter-js/blob/f34...

Why would the user agent of a javascript execution environment ever be curl?

https://github.com/Lorenzo-Coslado/fingerprinter-js/blob/f34...

self explanatory

https://github.com/Lorenzo-Coslado/fingerprinter-js/blob/f34...

variable declared but not used anywhere.