We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Add exceptions for extension for a specific web site in cfg file

  • 2 回覆
  • 1 有這個問題
  • 7 次檢視
  • 最近回覆由 Mike Kaply

more options

Hello,

I have blocked all the extension with a cfg file in my company with : " //Extensions lockPref("xpinstall.whitelist.required", true); lockPref("xpinstall.enabled", false); " It's working but now i have to allow an extension for a specific website "https://mywebsite" but i dont how the exception has to be configured.

I need your help please.

Sam

Hello, I have blocked all the extension with a cfg file in my company with : " //Extensions lockPref("xpinstall.whitelist.required", true); lockPref("xpinstall.enabled", false); " It's working but now i have to allow an extension for a specific website "https://mywebsite" but i dont how the exception has to be configured. I need your help please. Sam

所有回覆 (2)

more options

Hi

Best is to use policies to manage your extension settings and not an autoconfig file.

See ExtensionSettings.

more options

Yeah, what cor-el said. There's no way to add exceptions once you've turned off installation. That policy allows you to block all extensions except the ones you want.