Skip to main content
For a quick check without the full classifier, each category is available as a single case-insensitive regular expression:
userAgents holds the same patterns as arrays of strings, for building your own matchers:
These match user agents only. Use classify for verification, Accept fingerprints and browser header checks.

prefersMarkdown

Returns true when an Accept header ranks text/markdown or text/x-markdown above text/html, taking q values into account.