User.js: privacy.resistFingerprinting breaks addons.mozilla.com

Created on 18 Aug 2017  路  6Comments  路  Source: pyllyukko/user.js

The config setting privacy.resistFingerprinting breaks the AMO. With this setting enabled, going on the AMO causes the website to detect a different version of the browser which causes it to install incompatible versions of the plugins.

For example, I'm using Firefox Nightly and going to the AMO page for uMatrix has the webstore telling me that I can install the last stable release which is defintiely incompatible with my browser. Also, the WebExt version which is available under a development release is marked as incompatible.

I haven't spoofed my User Agent String and I have narrowed the issue down to this preference by bisecting through all my prefs.

fingerprinting website breakage

Most helpful comment

FYI: the new AMO is going to use mozAddonManager web API (which is not affected by resistFingerprinting). This means AMO etc (see below) in future will work (but not other sites). I have no idea when the new AMO will land (here is the repo: https://github.com/mozilla/addons-frontend )

Whitelisted sites are here

  if (host.Equals("addons.mozilla.org") ||
      host.Equals("discovery.addons.mozilla.org") ||
      host.Equals("testpilot.firefox.com")) {
    return true;
  }

Edit: In case that's not clear, only those three sites can read your addons and firefox version - no leakage worries

PS: Here is the bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1394448

All 6 comments

This is a known problem, as the option spoofs all the tells AMO uses to detect browser version.

Try loading the page without JS.

Or click on the green icon while the page is still loading (you must be quick), as the version checking happens only when the page is fully loaded.

Or you can use other tools to download the XPI.

This bug seems to be debating the same thing we're discussing.

https://bugzilla.mozilla.org/show_bug.cgi?id=1333933

FYI: the new AMO is going to use mozAddonManager web API (which is not affected by resistFingerprinting). This means AMO etc (see below) in future will work (but not other sites). I have no idea when the new AMO will land (here is the repo: https://github.com/mozilla/addons-frontend )

Whitelisted sites are here

  if (host.Equals("addons.mozilla.org") ||
      host.Equals("discovery.addons.mozilla.org") ||
      host.Equals("testpilot.firefox.com")) {
    return true;
  }

Edit: In case that's not clear, only those three sites can read your addons and firefox version - no leakage worries

PS: Here is the bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1394448

only those three sites can read your addons and firefox version - no leakage worries

Just mentioning, it's fairly trivial to spoof a domain on public networks after the KRACK attack.

Looks like I'll be using "privacy.resistFingerprinting.block_mozAddonManager".

Was this page helpful?
0 / 5 - 0 ratings