Skip to content

http.user_agent — User Agent

metin

In the console: User Agent

Matches the User-Agent header containing the browser, library, or bot name. Frequently used for bot detection and blocking specific clients.

OperatorDescription
==Exact match
!=Not equal
inIn list
not_inNot in list
containsContains
not_containsDoes not contain
has_prefixStarts with
has_not_prefixDoes not start with
has_suffixEnds with
has_not_suffixDoes not end with
IF http.user_agent contains BadBot
THEN block
IF http.user_agent contains python-requests
THEN captcha
IF http.user_agent == ""
THEN block