summaryrefslogtreecommitdiff
path: root/devdocs/html/attributes%2Frel%2Fnoreferrer.html
blob: deecac139ae5e97fbfdf6393097a235030e3e584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<header><h1>rel=noreferrer</h1></header><div class="section-content"><p>The <code>noreferrer</code> keyword for the <a href="../rel"><code>rel</code></a> attribute of the <a href="../../element/a"><code>&lt;a&gt;</code></a>, <a href="../../element/area"><code>&lt;area&gt;</code></a>, and <a href="../../element/form"><code>&lt;form&gt;</code></a> elements instructs the browser, when navigating to the target resource, to omit the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer"><code>Referer</code></a> header and otherwise leak no referrer information — and additionally to behave as if the <a href="noopener"><code>noopener</code></a> keyword were also specified.</p></div>
<h2 id="specifications">Specifications</h2>
<div class="_table"><table class="standard-table">
<thead><tr><th scope="col">Specification</th></tr></thead>
<tbody><tr><td><a href="https://html.spec.whatwg.org/multipage/links.html#link-type-noreferrer">HTML Standard <br><small># link-type-noreferrer</small></a></td></tr></tbody>
</table></div>
<h2 id="browser_compatibility">Browser compatibility</h2>
<div class="_table"><table>
<thead>
<tr id="bct-browser-type">
<th></th>
<th colspan="6">Desktop</th>
<th colspan="6">Mobile</th>
</tr>
<tr id="bct-browsers">
<th></th>
<th>Chrome</th>
<th>Edge</th>
<th>Firefox</th>
<th>Internet Explorer</th>
<th>Opera</th>
<th>Safari</th>
<th>WebView Android</th>
<th>Chrome Android</th>
<th>Firefox for Android</th>
<th>Opera Android</th>
<th>Safari on IOS</th>
<th>Samsung Internet</th>
</tr>
</thead>
<tbody><tr>
<th><code>noreferrer</code></th>
<td class="bc-supports-yes">16</td>
<td class="bc-supports-yes">13</td>
<td class="bc-supports-yes">33</td>
<td class="bc-supports-yes"><details><summary>11</summary>Only supported in IE11 in later versions of Windows 10 (creators update). (Per caniuse.com.)</details></td>
<td class="bc-supports-yes">15</td>
<td class="bc-supports-yes">5</td>
<td class="bc-supports-yes">4.4</td>
<td class="bc-supports-yes">18</td>
<td class="bc-supports-yes">33</td>
<td class="bc-supports-yes">14</td>
<td class="bc-supports-yes">4.2</td>
<td class="bc-supports-yes">1.5</td>
</tr></tbody>
</table></div><div class="_attribution">
  <p class="_attribution-p">
    &copy; 2005&ndash;2023 MDN contributors.<br>Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.<br>
    <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/noreferrer" class="_attribution-link">https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/noreferrer</a>
  </p>
</div>