coderef

referrer-policy() for url()Limited availability

The url() CSS function accepts a referrer-policy() modifier to choose which referrer to send when requesting the URL. For example, `url("https://example.com" referrer-policy(no-referrer)) does not send a referrer to the URL.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
1–149Not supported
150+Supportedsince Jun 30, 2026
Current: 155
Edge
12–149Not supported
150+Supportedsince Jul 2, 2026
Current: 154
Firefox
✕Not supportedup to 157
Current: 157
Safari
1–26.1Not supported
26.2+Supportedsince Dec 12, 2025
Current: 27
MobileChrome Android
18–149Not supported
150+Supportedsince Jun 30, 2026
Current: 155
Firefox Android
✕Not supportedup to 157
Current: 157
Safari iOS
1–26.1Not supported
26.2+Supportedsince Dec 12, 2025
Current: 27

How to use

Not supported in Firefox, Firefox Android. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN — see the links below.

Feature detection

There’s no simple runtime check for this feature; rely on the support table and test in your target browsers.