diff --git a/matcher.go b/matcher.go index a1a4fd01..96a58f90 100644 --- a/matcher.go +++ b/matcher.go @@ -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 +} +