본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Disable manual xpi installation

  • 4 답장
  • 1 이 문제를 만남
  • 10 보기
  • 최종 답변자: 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

모든 댓글 (4)

more options

Hello ma4x

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

thank you

글쓴이 ideato 수정일시

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...