user.js icon indicating copy to clipboard operation
user.js copied to clipboard

FF version detection on AMO broken

Open crssi opened this issue 9 years ago • 6 comments

Hi guys. My projects are killing me, almost no time for anything else. :( IDK if someone already mentioned it here, but in case it didn't, here we go:

I have noticed that /* 4501 */ user_pref("privacy.resistFingerprinting", true); prevents AMO to detect Firefox version, at least version 57.

On FF 57 visit, for example, Cookie AutoDelete AMO page. You will be unable to install that addon with a notice on that page: This add-on requires a newer version of Firefox (at least version 56.0). You are using Firefox 52.0.

Change privacy.resistFingerprinting to false and revisit/reload CAD AMO page. Now you will be able to install it.

Maybe, this should be mentioned on Wiki.

Cheers

crssi avatar Nov 21 '17 09:11 crssi

Hi, yes we are aware of it. There are 2 ways around this atm:

  1. temporarily disable privacy.resistFingerprinting to install new addons from AMO
  2. set privacy.resistFingerprinting.block_mozAddonManager to true and use an addon that can modify headers for certain websites, and configure it to send your real User-Agent for addons.mozilla.org. If you don't set that pref to true WEs won't be able to modify headers on the restricted domain addons.mozilla.org (and they won't be able to inject content-scripts to modify the site either, fe. try to block an element with uBO - it won't work unless you change that pref to true)

earthlng avatar Nov 21 '17 09:11 earthlng

You could also save the xpi file and install the addon manually

2glops avatar Nov 21 '17 11:11 2glops

Damn! I totally forgot about the simplest solution lol. Thanks @2glops

Cannot see the forest for the trees

To say the idiom "cannot see the forest for the trees" means that a person cannot see the big picture because the focus is too much on the details.

I think I need a break. Wake me up when ESR52 is EOL xD

earthlng avatar Nov 21 '17 11:11 earthlng

To add to what @2glops said, if you want to install SuperStop, for example:

  1. Click on the "See all versions".
  2. Click on "Download Anyway" next to "Version 0.2".
  3. When prompted, choose to open the file using Firefox instead of saving it to disk.

fmarier avatar Nov 21 '17 11:11 fmarier

Thx @fmarier, obviously there is even simplest solution. :)

crssi avatar Nov 21 '17 12:11 crssi

I simply right click on the greyed-out + Add to Firefox button, then I click on Copy Link Location and paste in the address bar (same tab).

claustromaniac avatar Nov 21 '17 14:11 claustromaniac