Skip to main content

Describes the values that will be used for the Referer and the Referrer-Policy request headers.

Properties (2)

Property Type Default Required Description
policy⚓︎ ("default" | "unsafe-url" | "no-referrer-when-downgrade" | "no-referrer" | "origin" | "strict-origin-when-cross-origin" | "same-origin" | "strict-origin") x

Value for the Referrer-Policy request header. For more details, see the Referrer-Policy request header documentation.

url⚓︎ string x

URL for the Referer request header.