3 ms·
In about:config, setting 'network.http.sendRefererHeader' to 0 (default is 2) will stop the referer header from being sent, and the document.referrer from being
by x775 9y ago
In about:config, setting 'network.http.sendRefererHeader' to 0 (default is 2) will stop the referer header from being sent, and the document.referrer from being set. See http://kb.mozillazine.org/Network.http.sendRefererHeader http://kb.mozillazine.org/Network.http.sendRefererHeader for more information.
- open-source-ux 9y agoDisabling the referrer header completely can prevent you from signing into some sites unfortunately. Another option in Firefox is to use network.http.referer.spoofSource. In the URL bar, type: about:config Search for the following setting: network.http.referer.spoofSource Double-click to set its value to true. This basically sends the destination or target URL as the referrer.
- x775 9y agoI have not had issues thus far signing in on sites, though that might just have been dumb luck. I appreciate the heads-up and the additional information, thanks!
- deleted 9y ago[deleted]
- randomString1 9y agoThere are several referer settings. https://raw.githubusercontent.com/pyllyukko/user.js/master/user.js https://raw.githubusercontent.com/pyllyukko/user.js/master/u... user_pref("network.http.referer.userControlPolicy", x); // TODO: https://github.com/pyllyukko/user.js/issues/94 https://github.com/pyllyukko/user.js/issues/94, commented-out XOriginPolicy/XOriginTrimmingPolicy = 2 prefs user_pref("network.http.referer.spoofSource", x); user_pref("network.http.referer.XOriginPolicy", x);
- x775 9y agoThat is a very informative source, thank you!
- yborg 9y agohttps://github.com/meh/smart-referer https://github.com/meh/smart-referer Configurable referer behavior, including whitelist.
- Momquist 9y agouMatrix also has a similar feature, among many others (request blocking by type, cookie and cache management, etc...) https://github.com/gorhill/uMatrix https://github.com/gorhill/uMatrix
- deleted 9y ago[deleted]
- LukeShu 9y agoThat page is quite outdated (2007), a better reference for about:config referrer options is https://wiki.mozilla.org/Security/Referrer https://wiki.mozilla.org/Security/Referrer (which is linked to at the bottom of the blog post about FF59 being discussed). It seems that Firefox 59 will effectively force about:config's network.http.referer.XOriginTrimmingPolicy to 2 (default is 0) when in private browsing.
- dylanpyle 9y agoSimilar for Chrome, there's a flag at chrome://flags/#reduced-referrer-granularity Description: "If a page hasn't set an explicit referrer policy, setting this flag will reduce the amount of information in the 'referer' header for cross-origin requests."