Referrer policyBaseline · Widely available
The Referrer-Policy HTTP header and referrerpolicy HTML attributes control whether requests have the Referer header and what information the header contains.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 20, 2021. Widely available since Mar 20, 2024.
Browser support
DesktopChrome
1–84Not supported
85+Supportedsince Aug 25, 2020
Current: 155Edge
12–84Not supported
85+Supportedsince Aug 27, 2020
Current: 154Firefox
1–86Not supported
87+Supportedsince Mar 23, 2021
Current: 157Safari
1–14.1Not supported
15+Supportedsince Sep 20, 2021
Current: 27MobileChrome Android
18–84Not supported
85+Supportedsince Aug 25, 2020
Current: 155Firefox Android
4–86Not supported
87+Supportedsince Mar 23, 2021
Current: 157Safari iOS
1–14.5Not supported
15+Supportedsince Sep 20, 2021
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: referrerPolicy.
Feature detection
JS · check before using
if ("HTMLAnchorElement" in globalThis && "referrerPolicy" in HTMLAnchorElement.prototype) {
// HTMLAnchorElement.referrerPolicy is available
}Sub-features
Support for each part of the feature (56). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| HTMLAnchorElement.referrerPolicy | 52 | 79 | 50 | 14 | 52 | 50 | 14 |
| HTMLAnchorElement.referrerPolicy.no-referrer-when-downgrade | 52 | 79 | ✕ | 14 | 52 | ✕ | 14 |
| HTMLAnchorElement.referrerPolicy.origin-when-cross-origin | 52 | 79 | ✕ | 14 | 52 | ✕ | 14 |
| HTMLAnchorElement.referrerPolicy.unsafe-url | 52 | 79 | ✕ | 14 | 52 | ✕ | 14 |
| HTMLAreaElement.referrerPolicy | 52 | 79 | 50 | 14.1 | 52 | 50 | 14.5 |
| HTMLAreaElement.referrerPolicy.no-referrer-when-downgrade | 52 | 79 | ✕ | 14.1 | 52 | ✕ | 14.5 |
| HTMLAreaElement.referrerPolicy.origin-when-cross-origin | 52 | 79 | ✕ | 14.1 | 52 | ✕ | 14.5 |
| HTMLAreaElement.referrerPolicy.unsafe-url | 52 | 79 | ✕ | 14.1 | 52 | ✕ | 14.5 |
| HTMLIFrameElement.referrerPolicy | 52 | 79 | 50 | 14 | 52 | 50 | 14 |
| HTMLIFrameElement.referrerPolicy.no-referrer-when-downgrade | 52 | 79 | ✕ | 14 | 52 | ✕ | 14 |
| HTMLIFrameElement.referrerPolicy.origin-when-cross-origin | 52 | 79 | ✕ | 14 | 52 | ✕ | 14 |
| HTMLIFrameElement.referrerPolicy.unsafe-url | 52 | 79 | ✕ | 14 | 52 | ✕ | 14 |
| HTMLImageElement.referrerPolicy | 52 | 79 | 50 | 14 | 52 | 50 | 14 |
| HTMLImageElement.referrerPolicy.no-referrer-when-downgrade | 52 | 79 | ✕ | 14 | 52 | ✕ | 14 |
| HTMLImageElement.referrerPolicy.origin-when-cross-origin | 52 | 79 | ✕ | 14 | 52 | ✕ | 14 |
| HTMLImageElement.referrerPolicy.unsafe-url | 52 | 79 | ✕ | 14 | 52 | ✕ | 14 |
| HTMLLinkElement.referrerPolicy | 58 | 79 | 50 | 14.1 | 58 | 50 | 14.5 |
| HTMLLinkElement.referrerPolicy.no-referrer-when-downgrade | 58 | 79 | ✕ | 14.1 | 58 | ✕ | 14.5 |
| HTMLLinkElement.referrerPolicy.origin-when-cross-origin | 58 | 79 | ✕ | 14.1 | 58 | ✕ | 14.5 |
| HTMLLinkElement.referrerPolicy.unsafe-url | 58 | 79 | ✕ | 14.1 | 58 | ✕ | 14.5 |
Show 36 more
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| HTMLScriptElement.referrerPolicy | 70 | 79 | 65 | 14 | 70 | 65 | 14 |
| HTMLScriptElement.referrerPolicy.no-referrer-when-downgrade | 70 | 79 | ✕ | 14 | 70 | ✕ | 14 |
| HTMLScriptElement.referrerPolicy.origin-when-cross-origin | 70 | 79 | ✕ | 14 | 70 | ✕ | 14 |
| HTMLScriptElement.referrerPolicy.unsafe-url | 70 | 79 | ✕ | 14 | 70 | ✕ | 14 |
| a.referrerpolicy | 51 | 79 | 50 | 14 | 51 | 50 | 14 |
| a.referrerpolicy.no-referrer-when-downgrade | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| a.referrerpolicy.origin-when-cross-origin | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| a.referrerpolicy.unsafe-url | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| area.referrerpolicy | 51 | 79 | 50 | 14 | 51 | 50 | 14 |
| area.referrerpolicy.no-referrer-when-downgrade | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| area.referrerpolicy.origin-when-cross-origin | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| area.referrerpolicy.unsafe-url | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| iframe.referrerpolicy | 51 | 79 | 50 | 14 | 51 | 50 | 14 |
| iframe.referrerpolicy.no-referrer-when-downgrade | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| iframe.referrerpolicy.origin-when-cross-origin | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| iframe.referrerpolicy.unsafe-url | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| img.referrerpolicy | 51 | 79 | 50 | 14 | 51 | 50 | 14 |
| img.referrerpolicy.no-referrer-when-downgrade | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| img.referrerpolicy.origin-when-cross-origin | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| img.referrerpolicy.unsafe-url | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| link.referrerpolicy | 51 | 79 | 50 | 14 | 51 | 50 | 14 |
| link.referrerpolicy.no-referrer-when-downgrade | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| link.referrerpolicy.origin-when-cross-origin | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| link.referrerpolicy.unsafe-url | 51 | 79 | ✕ | ✕ | 51 | ✕ | ✕ |
| script.referrerpolicy | 70 | 79 | 65 | 14 | 70 | 65 | 14 |
| script.referrerpolicy.no-referrer-when-downgrade | 70 | 79 | ✕ | ✕ | 70 | ✕ | ✕ |
| script.referrerpolicy.origin-when-cross-origin | 70 | 79 | ✕ | ✕ | 70 | ✕ | ✕ |
| script.referrerpolicy.unsafe-url | 70 | 79 | ✕ | ✕ | 70 | ✕ | ✕ |
| http.headers.Referrer-Policy | 56 | 79 | 50 | 11.1 | 56 | 50 | 12 |
| http.headers.Referrer-Policy.default_strict-origin-when-cross-origin | 85 | 85 | 87 | 15 | 85 | 87 | 15 |
| http.headers.Referrer-Policy.no-referrer-when-downgrade | 56 | 79 | ✕ | ✕ | 56 | ✕ | ✕ |
| http.headers.Referrer-Policy.origin-when-cross-origin | 56 | 79 | ✕ | ✕ | 56 | ✕ | ✕ |
| http.headers.Referrer-Policy.same-origin | 61 | 79 | 52 | 11.1 | 61 | 52 | 12 |
| http.headers.Referrer-Policy.strict-origin | 61 | 79 | 52 | 11.1 | 61 | 52 | 12 |
| http.headers.Referrer-Policy.strict-origin-when-cross-origin | 61 | 79 | 52 | 11.1 | 61 | 52 | 12 |
| http.headers.Referrer-Policy.unsafe-url | 56 | 79 | ✕ | ✕ | 56 | ✕ | ✕ |