This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The HTMLLinkElement.referrerPolicy property reflect the HTML referrerpolicy attribute of the <link> element defining which referrer is sent when fetching the resource.

See the HTTP Referrer-Policy header for details.


DOMString HTMLLinkElement.referrerPolicy


var links = document.getElementsByTagName("link");
links[0].referrerPolicy; // "no-referrer"


Specification Status Comment
Referrer Policy
The definition of 'referrerPolicy attribute' in that specification.
Candidate Recommendation  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support58 No50 ?45 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support5858 No5045 ? ?

See also

Document Tags and Contributors

Contributors to this page: fscholz, jpmedley, valtlai
Last updated by: fscholz,