Unfortunately, a lot of browsers now completely obfuscate themselves and don't put anything unique in the user agent string. They intentionally don't want to be detected at all beyond "I'm a modern browser".
post
replies:
I can say that I've used a plugin for WordPress called Dark Visitors which seems to track and report on bot crawlers, including LLMs. Not sure how accurate their info is, but our marketing dept seems to believe it so 🤷♂️
Maybe looking into what Dark Visitors does would give you pointers on how you might detect them.
Just install the browsers and test them on your website. That's the best way to be sure it works.
You should look into something like Anubis: https://github.com/TecharoHQ/anubis
all 6 comments