From 7731dae58ee7e8057d630083ac195ff283f9d540 Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Mon, 15 Mar 2021 18:56:28 +1100 Subject: [PATCH] Add information about firefox default preferences (#2954) * Add information about firefox default preferences * Fix up following feedback --- .../web/http/headers/referrer-policy/index.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/files/en-us/web/http/headers/referrer-policy/index.html b/files/en-us/web/http/headers/referrer-policy/index.html index a6ea5f5ee4e9908..5da7602cd3182f3 100644 --- a/files/en-us/web/http/headers/referrer-policy/index.html +++ b/files/en-us/web/http/headers/referrer-policy/index.html @@ -85,7 +85,7 @@

Integration with HTML

<meta name="referrer" content="origin">
-

Or set it for individual requests with the referrerpolicy attribute on {{HTMLElement("a")}}, {{HTMLElement("area")}}, {{HTMLElement("img")}}, {{HTMLElement("iframe")}}, {{HTMLElement("script")}}, or {{HTMLElement("link")}} elements:

+

Or set it for individual requests with the referrerpolicy attribute on {{HTMLElement("a")}}, {{HTMLElement("area")}}, {{HTMLElement("img")}}, {{HTMLElement("iframe")}}, {{HTMLElement("script")}}, or {{HTMLElement("link")}} elements:

<a href="http://example.com" referrerpolicy="origin">
@@ -217,6 +217,18 @@

Specifying a fallback policy

Specifying multiple values is only supported in the Referrer-Policy HTTP header, and not in the referrerpolicy attribute.

+

Browser-specific preferences/settings

+

Firefox preferences

+ +

Firefox preferences can be used to configure the default referrer policy. The preference names are version specific:

+ +

All of these settings take the same set of values: 0 = no-referrer, 1 = same-origin, 2 = strict-origin-when-cross-origin, 3 = no-referrer-when-downgrade.

+ +

Specifications