Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Disable manual xpi installation

  • 4 antwoorden
  • 1 heeft dit probleem
  • 10 weergaven
  • Laatste antwoord van ma4x

more options

I want to disable manual installation of xpi files in Firefox. Installation from addons.mozilla.org should still be possible. In Firefox 17 ESR it was working fine with the following settings in mozilla.cfg: lockPref("xpinstall.enabled", false); lockPref("xpinstall.whitelist.required", true); lockPref("xpinstall.whitelist.add","update.mozilla.org,addons.mozilla.org");

In current versions of Firefox this isn't working anymore. As soon as I set "xpinstall.enabled" to false, the "Get Add-ons" menu under "Add-ons" disappears and I'm also not able to install from http://addons.mozilla.org

I want to disable manual installation of xpi files in Firefox. Installation from addons.mozilla.org should still be possible. In Firefox 17 ESR it was working fine with the following settings in mozilla.cfg: lockPref("xpinstall.enabled", false); lockPref("xpinstall.whitelist.required", true); lockPref("xpinstall.whitelist.add","update.mozilla.org,addons.mozilla.org"); In current versions of Firefox this isn't working anymore. As soon as I set "xpinstall.enabled" to false, the "Get Add-ons" menu under "Add-ons" disappears and I'm also not able to install from http://addons.mozilla.org

Alle antwoorden (4)

more options

Hello ma4x

with quotes in the end of update.mozilla.org and in the begging of addons.mozilla.org ?

thank you

Bewerkt door ideato op

more options

No, this doesn't work. The syntax should be ok. For me it looks like the logic in Firefox has changed in some way or maybe it's a bug and the whitelist isn't interpreted properly.

more options

I can confirm that I also see that the Get Extensions tab is gone if you lock the xpinstall.enabled to false and that this isn't happening in the Firefox 17 ESR version.

  • lockPref("xpinstall.enabled", false);

But I can't install extensions from white listed websites or websites that have an allow exception in Firefox 17 ESR. Installing a Persona works in Firefox 17 and in the current Firefox 32 release with your lockPref() calls.

Note that Firefox 17 ESR is outdated and should at least be replaced by Firefox 24 ESR (24.8.1 is current)

more options

I checked again. In Firefox 17 I'm able to install add-ons from "about:addons" (the "Get Add-ons" tab is visible), but I'm not able to do installations from "https://addons.mozilla.org". For me it looks like a bug in current Firefox versions, as "xpinstall.whitelist.add" isn't working...