omrilotan / isbot

🤖/👨‍🦰 Detect bots/crawlers/spiders using the user agent string
https://isbot.js.org/
The Unlicense
905 stars 74 forks source link

Support for Chrome/Firefox 100 #172

Closed bmustata closed 2 years ago

bmustata commented 2 years ago

How this is going to support Chrome and Firefox version 100? https://hacks.mozilla.org/2022/02/version-100-in-chrome-and-firefox/

omrilotan commented 2 years ago

I don't understand the question. Why would there be an issue with version 100? We don't parse the user agent string. We search for known patterns:

isbot: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0

bmustata commented 2 years ago

Chrome will reduce the amount of information available in the User Agent string so i understand that after ver 100 this will not be affected.

omrilotan commented 2 years ago

I believe we should be fine unless they change the user agent string to Chromebot or something. Anyway's we can monitor the releases and put user agent strings to the test as they become available

omrilotan commented 2 years ago

Tested with Chrome's flag #force-major-version-to-100 (under chrome://flags) and added appropriate tests #173