Show HN: Bot Detection API(npmjs.com)6 points·by vizza·10 ปีที่แล้ว·3 commentsnpmjs.comShow HN: Bot Detection APIhttps://www.npmjs.com/package/gator-score1 commentsPost comment[–]fiatjaf·10 ปีที่แล้วreplyOff-topic, but I was thinking that maybe it would be possible to make a bot detection that would run in the browser.For example, if the visitor didn't move its mouse mouse or never clicks or touches anything after the page is loaded, then it is a bot, perhaps?This would work for scraper bots that use PhantomJS.[–]vizza·10 ปีที่แล้วreplyThat would work for a percentage of bots. That method is used in the ad fraud detection world, but a lot of the bots simulate mouse moves and other user activities now. There are other ways to whitelist visitors, however.[–]fiatjaf·10 ปีที่แล้วreplyThank you.
For example, if the visitor didn't move its mouse mouse or never clicks or touches anything after the page is loaded, then it is a bot, perhaps?
This would work for scraper bots that use PhantomJS.