Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about firefox default preferences #2954

Merged
merged 2 commits into from
Mar 15, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions files/en-us/web/http/headers/referrer-policy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,17 @@ <h3 id="Specifying_a_fallback_policy">Specifying a fallback policy</h3>

<p class="note">Specifying multiple values is only supported in the <code>Referrer-Policy</code> HTTP header, and not in the <code>referrerpolicy</code> attribute.</p>

<h2 id="Firefox_preferences">Firefox preferences</h2>

Firefox preferences can be used to configure the <em>default</em> referrer policy. The preference names are version specific:
hamishwillee marked this conversation as resolved.
Show resolved Hide resolved
<ul>
<li>Firefox version 87: <code>network.http.referer.userControlPolicy</code></li>
<li>Firefox versions 59 to 86: <code>network.http.referer.defaultPolicy</code> (and <code>network.http.referer.defaultPolicy.pbmode</code> for private networks)</li>
<li>Firefox versions 53 to 58: <code>network.http.referer.userControlPolicy</code></li>
</ul>
All of these settings take the same set of values: <code>0 = no-referrer</code>, <code>1 = same-origin</code>, <code>2 = strict-origin-when-cross-origin</code>, <code>3 = no-referrer-when-downgrade</code>:
hamishwillee marked this conversation as resolved.
Show resolved Hide resolved


<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
Expand Down