Auto Referer

Control HTTP referer to protect privacy and not break web. And this is the addon (maybe the only one?) that deals with the 'document.referrer' bug

Auto Referer - Control HTTP referer to protect privacy

Auto Referer is a Firefox add-on that provides control over HTTP referer to protect privacy and prevent web breakage. It offers a workaround for the 'document.referrer' bug and allows you to enable/disable the add-on for specific tabs or globally.

Add-on stats

By: GarryW
Users: 370
4
Rating: 4.43
(7)
Version: 0.8.51 (Last updated: 2024-08-01)
Creation date: 2020-03-26
Weekly download count: 1
Firefox on Android: Yes
Risk impact: High risk impact
Risk likelihood:
Manifest version: 2
Permissions:
  • webRequest
  • webRequestBlocking
  • *://*/*
  • ws://*/*
  • wss://*/*
  • <all_urls>
  • contextMenus
  • tabs
  • storage
Size: 36.60K
URLs: Website

Other platforms

Not available on Chrome
Not available on Android
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons? Install Chrome-Stats extension to view Firefox-Stats data as you browse the Firefox Browser Add-ons.

Add-on summary

Control HTTP referer to protect privacy and not break web.

Notice: Due to browser bug on javascript document.referrer on Firefox 69+ (1601496, 1601743) (also on Chrome), using a regular referer controlling addon you can get 70% of expected protection until they fix that bug.

So, we've implemented a workaround to improve protection to 85%. Please enable workaround in addon settings (Firefox only currently).

Referer policy:

  1. For webs' top frame (i.e. clicking link, navigating, redirecting etc.):
    1. If origin and target url have same domain, allow trimmed referer
    2. If origin and target url have different domain, no referer
  2. For in-page resources (images, videos, js, css etc.), allow trimmed referer (this is the key to not break most webs, also a balance between privacy and experience)
  3. Trim referer: Any referer should be no more than http(s)://domain-name:port/ (like Firefox's native about:config setting network.http.referer.trimmingPolicy = 2).
  4. Not allow referer that not starts with "http" or "https". (Please feedback if you find something broken due to this)
  5. No referer when downgrade from HTTPS/WSS to HTTP/WS
We believe that can protect privacy enough and won't break web.

document.referrer bug workaround This addon doesn't use content script. Content script hiding document.referrer is not 100% reliable.

See more

User reviews



View all user reviews

Add-on safety

Risk impact

Auto Referer requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk likelihood

Auto Referer is probably trust-worthy. Prefer other publishers if available. Exercise caution when installing this add-on.

Upgrade to see risk analysis details