Skip to main content

I'm trying to block a specific extension in Firefox. It works if I block all extension, but not when I reference the specific extension ID. I confirmed that the extension ID is correct. Any suggestions?

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>EnterprisePoliciesEnabled</key> <true/> <key>ExtensionSettings</key> <dict> <key>{87677a2c52b84ad3a151a4a72f5bd3c4@jetpack}</key> <dict> <key>blocked_install_message</key> <string>Extension blocked by Security Policy.</string> <key>installation_mode</key> <string>blocked</string> </dict> </dict> </dict> </plist>

try with the install_source Key and URL of the extension 

<key>ExtensionSettings</key> <dict> <key>*</key> <dict> <key>blocked_install_message</key> <string>Custom error message.</string> <key>install_sources</key> <array> <string>"https://yourwebsite.com/*"</string> </array> <dict> <dict>

 

refer 

policy-templates


try with the install_source Key and URL of the extension 

<key>ExtensionSettings</key> <dict> <key>*</key> <dict> <key>blocked_install_message</key> <string>Custom error message.</string> <key>install_sources</key> <array> <string>"https://yourwebsite.com/*"</string> </array> <dict> <dict>

 

refer 

policy-templates


Thanks. It works if I block all extensions I'm just not able to block a specific extension and allow other extensions to be installed.