feat(botfilter): matcher.go part 5/5

This commit is contained in:
hoelee committed 2026-05-06 11:12:00 +08:00
1 parent 916cf37245
commit 6d94ec9b77
1 file changed
+10
+10
View File
@@ -123,3 +123,13 @@ func implausibleBrowser(r *http.Request, userAgent string) bool {
return true
}
if value := r.Header.Get("Sec-Fetch-Site"); value != "" {
switch value {
case "same-origin", "same-site", "cross-site", "none":
default:
return true
}
}
return false
}