TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Firefox 87 trims HTTP Referrers by default to protect user privacy

972 pointsby twapiabout 4 years ago

35 comments

hannobabout 4 years ago
Just a FYI because some people are complaining that Mozilla is doing something evil or will break all of the web or something. Chrome made the same change a while back:<p><a href="https:&#x2F;&#x2F;developers.google.com&#x2F;web&#x2F;updates&#x2F;2020&#x2F;07&#x2F;referrer-policy-new-chrome-default" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;web&#x2F;updates&#x2F;2020&#x2F;07&#x2F;referrer-p...</a><p>So if this breaks something people probably already noticed. And Mozilla is merely aligning with the browser with the largest market share on this. (Also everyone who wants something different for their sites, it&#x27;s configurable: <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;HTTP&#x2F;Headers&#x2F;Referrer-Policy" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;HTTP&#x2F;Headers&#x2F;Re...</a> )
评论 #26541630 未加载
评论 #26540286 未加载
评论 #26541513 未加载
评论 #26540202 未加载
评论 #26548826 未加载
评论 #26541899 未加载
评论 #26542970 未加载
评论 #26541864 未加载
评论 #26547703 未加载
评论 #26540982 未加载
评论 #26542264 未加载
myfonjabout 4 years ago
Oh, I&#x27;ll really miss occasionally peeking at AWStats and discovering weird pages pointing at my weird pages :(<p>This subtle aspect of web had been always strangely appealing for me: people leaving trails in access logs and building real &quot;footpaths&quot; network of synapses between HTML <i>documents</i>, across origins. Sad to watch it dying, however beneficial and understandable it is.<p>I feel it didn&#x27;t have to be this way: maybe if GET wasn&#x27;t so widely misused recently and generally everybody knew what to <i>not</i> put in URL and acted accordingly, we could have preserved such nice things.
评论 #26541668 未加载
评论 #26545434 未加载
评论 #26540575 未加载
评论 #26549417 未加载
评论 #26542610 未加载
评论 #26549426 未加载
评论 #26543607 未加载
评论 #26543222 未加载
评论 #26544353 未加载
edentabout 4 years ago
Here&#x27;s a practical reason for doing this.<p><a href="https:&#x2F;&#x2F;shkspr.mobi&#x2F;blog&#x2F;2018&#x2F;01&#x2F;mailchimp-leaks-your-email-address&#x2F;" rel="nofollow">https:&#x2F;&#x2F;shkspr.mobi&#x2F;blog&#x2F;2018&#x2F;01&#x2F;mailchimp-leaks-your-email-...</a><p>A few years ago, I discovered that referrers from MailChimp let you unsubscribe people from lists, and see their email addresses.
评论 #26549066 未加载
e12eabout 4 years ago
I think there&#x27;d be a bit less panic in the comments if the title&#x2F;headline reflected that the change (as I understand it) applies cross-origin and cross-scheme (http &gt; tls). So if you&#x27;re preventing hot-linking of assets, this should not affect you (or; you have some control over it via policy):<p>&gt; this new stricter referrer policy will not only trim information for requests going from HTTPS to HTTP, but will also trim path and query information for all cross-origin requests.<p>Seems like a fairly balanced way to protect privacy along with preserving utility?
eitlandabout 4 years ago
For anyone who wonders how http referer could ever be a good idea consider the following:<p>I remember when my dad studied to become a teacher. As one of their assignments they had to create a webside. As someone who had recently given up farming I think he wrote about farm animals and linked to some other pages about small scale poultry and similar topics.<p>One day he got a mail from the &quot;webmaster&quot; of one of the sites he linked to that he would have to update his links soon. I remember being really surprised that someone knew my dad had linked to them.<p>Being only 16 or 17 or something I only knew simple html, basic and vb but I knew that html links were one way.<p>I don&#x27;t think I realized until later what had really happened: this person had looked at their server logs to see where their customers came from, looked up the page and found the email address.<p>Of course this also highlights why the referer is so problematic.
评论 #26544727 未加载
评论 #26544759 未加载
beagle3about 4 years ago
That reminds me that in 1999, looking through the referrer logs, I realized that if the link came in from an Outlook email, Outlook+IE would report the subject of the referring email as the referrer (iirc with user name, something like “mailbox:&#x2F;&#x2F;user@site&#x2F;subject-of-the-email”).<p>So we started looking for those more seriously in my company, and got quite a bit of interesting Intel from potential investors, competitors we knew about, and some we weren’t even aware of.<p>It was just the subject and user, but was often surprisingly informative.
评论 #26542338 未加载
gianfridabout 4 years ago
Nice, I&#x27;m using SmartReferer (<a href="https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;smart-referer&#x2F;" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;smart-referer...</a>), I&#x27;m always happy to drop an extension when Mozilla natively implements the same feature
评论 #26544810 未加载
avsteeleabout 4 years ago
Doesn&#x27;t this just push people to more tracking cookies? How are sites supposed to know what sources are driving their traffic? Whether visitors are coming via email campaigns, google, etc?
评论 #26540110 未加载
评论 #26539960 未加载
评论 #26540029 未加载
评论 #26539986 未加载
评论 #26540159 未加载
评论 #26539981 未加载
评论 #26540143 未加载
评论 #26540701 未加载
评论 #26542308 未加载
nofinatorabout 4 years ago
This made me wonder how to do it now, in Firefox 86. I found this helpful page: <a href="https:&#x2F;&#x2F;askubuntu.com&#x2F;questions&#x2F;797135&#x2F;how-to-disable-http-referrer-in-firefox" rel="nofollow">https:&#x2F;&#x2F;askubuntu.com&#x2F;questions&#x2F;797135&#x2F;how-to-disable-http-r...</a><p>TL;DR about:config --&gt; Network.http.sendRefererHeader --&gt; change value from 2 to 0
评论 #26540816 未加载
评论 #26540933 未加载
评论 #26550874 未加载
NelsonMinarabout 4 years ago
And so the dream of bidirectional hyperlinks finally dies. Turns out not only do we not need them, in most cases you really don&#x27;t want them.
评论 #26545071 未加载
hn_throwaway_99about 4 years ago
And just a reminder that it&#x27;s always a good idea to set Referrer-Policy regardless on sites you own.
评论 #26540398 未加载
professor_vabout 4 years ago
I just realized the &#x27;Referer&#x27; header is actually a misspelling in the http protocol.
评论 #26540429 未加载
评论 #26544176 未加载
TriNetraabout 4 years ago
We chose not to add referrer to ASPSecurityKit main site [0]. It&#x27;s a static content site and I think it&#x27;d be useful to let other sites know which page (docs&#x2F;guides&#x2F;blog) on our site got them a visitor because the content is public anyway. We&#x27;ve applied it on the dashboard though, this same origin-when-cross-origin policy.<p>0: <a href="https:&#x2F;&#x2F;ASPSecurityKit.net" rel="nofollow">https:&#x2F;&#x2F;ASPSecurityKit.net</a>
ing33kabout 4 years ago
any chance that a few CORS implementations will break due to this ?
评论 #26539959 未加载
评论 #26540017 未加载
Scoundrellerabout 4 years ago
Google largely killed this when they moved to https by default, but I missed reviewing what search terms visitors used to visit my site and then creating content to answer their actual questions, instead of guessing.<p>But the web was a much smaller place&#x2F;time back then.<p>Oh, and seeing people search for my uncommon name...
sneakabout 4 years ago
I hope they do User-Agent next.
评论 #26540802 未加载
评论 #26540085 未加载
评论 #26545188 未加载
aimorabout 4 years ago
I&#x27;m surprised it took this long, and it&#x27;s still not completely gone. I&#x27;ve never understood the history of why http referer exists (original intent) or why the user would benefit from sharing it.
评论 #26542508 未加载
codegeekabout 4 years ago
So if someone does want to use http referrer for any reason (e.g. only load a certain asset if coming from internal URL&#x2F;specific referrer), what needs to be done ?
评论 #26540847 未加载
1vuio0pswjnm7about 4 years ago
I never send a referer header. This has zero effect on my &quot;user experience&quot;.
评论 #26554001 未加载
wheybagsabout 4 years ago
Would it really break that much to just get rid of referrer altogether? I would miss it on my personal site (self hosted, Foss analytics, no google analytics there), but it wouldn&#x27;t actually break anything.
tannhaeuserabout 4 years ago
That&#x27;s going to break lots of older sites using Referrer for navi state. These will now either have to use query params, cookies, or JS instead. Not to mention easy affiliation links.
jakub_gabout 4 years ago
As a user I love stricter privacy. As a developer working for a platform company whose content (video) is embedded by thousands of websites, I hate this particular change:<p>- more difficult to analyze weird &#x2F; fraudulent embedders<p>- more difficult to debug issues (&quot;what&#x27;s the sample URL to repro? no sample URL in logs, only top-level of the domain, but I don&#x27;t find our embed anywhere ¯\_(ツ)_&#x2F;¯&quot;)<p>Funny thing: you can&#x27;t just tell your embedding partners to change the embed code and use `referrerpolicy=...` on the iframe, to expose the full URL, because it&#x27;s not GDPR-compliant apparently. So you need user&#x27;s consent first. But how do you obtain user&#x27;s consent before you render HTML on the server? :) (&quot;GDPR wall&quot; is not compliant either)<p>Life sucks, I guess. But it&#x27;s for greater good, and I guess the companies will somehow survive.
idclipabout 4 years ago
Wish i was able enough to help Web servers cull http and be https per default rather than offer complex alternatives that are often hard and multi step to implement.
bouncycastleabout 4 years ago
The HTTP referer (a misspelling of referrer) was broken for a while, ever since spammers figured out they can abuse it.
collsniabout 4 years ago
I have sending the referrer header for years in firefox, if a site doesn&#x27;t accept it I just go somewhere else.
burtonatorabout 4 years ago
This is going to suck... now 2% of my users won&#x27;t have HTTPS referrers.
qertoipabout 4 years ago
Good.
Black101about 4 years ago
It&#x27;s about time...
surajsabout 4 years ago
your privacy will become the joke
ape4about 4 years ago
I&#x27;ve noticed recently the &lt;Back button is sometimes disabled in Firefox. Related?
评论 #26540299 未加载
deepstackabout 4 years ago
Good for firefox. although I can see how this may break vimeo kind of service that only allow embedding video from certain web site.
评论 #26540423 未加载
dbg31415about 4 years ago
Does Firefox 87 still make my MBP a toaster when I turn on a Zoom call through Firefox?<p>Power usage for same streaming video call on Safari vs. Firefox.<p><a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;I7T19d0.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;I7T19d0.png</a>
评论 #26541435 未加载
Mauricebranaghabout 4 years ago
Isn&#x27;t this going to break campaign tracking for Adwords etc.<p>Not exactly what the actual risk is to privacy here does seem there is a lot of bandwagon jumping going on - a bit like &quot;Elf &amp; Safety&quot; or the Data protection act is trotted out when an organisation wants an excuse not to do something.
评论 #26542923 未加载
AdmiralAsshatabout 4 years ago
Will Firefox trim their own header additions when searching?<p>e.g. here&#x27;s the page that Firefox generates when I try to search &quot;Dragon Quest XI&quot; in a Private Window on Amazon via the address bar:<p><a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;s?k=dragon+quest+xi&amp;link_code=qs&amp;sourceid=Mozilla-search&amp;tag=mozilla-20" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;s?k=dragon+quest+xi&amp;link_code=qs&amp;sour...</a><p>Note the &#x27;mozilla-20&#x27; tag at the end.
评论 #26542485 未加载
评论 #26544119 未加载
tomaszsabout 4 years ago
I don&#x27;t understand what Mozilla does to Firefox anymore. What does it mean a page &quot;can&quot; leak private data?<p>Is there any story about anyone affected by the issue? Does this issue even exist?<p>It is just breaking another piece of the open web.<p>It just seems like Mozilla not only surrendered in gaining browser market but also actively acts against open web.<p>I thought website creators and website users should be in charge of what they want to do. But it seems no. Now Mozilla decides what web standards can be broken.<p>I&#x27;d maybe applaud changes by Mozilla, but with all of these efforts it is not aimed in gaining more users. Firefox does not gain users with such actions. It does not make any sense what is the aim of Mozilla anymore with Firefox.
评论 #26539911 未加载
评论 #26539894 未加载
评论 #26539895 未加载
评论 #26539885 未加载
评论 #26539919 未加载