配置 Microsoft Edge 的扩展管理设置。
此策略控制多个设置,包括任何现有扩展相关策略所控制的设置。如果同时设置了此策略和任何旧策略,则此策略将替代旧策略。
此策略会将扩展 ID 或更新 URL 映射到其配置。对于扩展 ID,此配置仅应用于指定的扩展。请设置特殊 ID "*" 的默认配置,以应用于此策略中未明确列出的所有扩展。对于更新 URL,此配置将应用于在此扩展的清单中明确声明的更新 URL 的所有扩展,如 https://go.microsoft.com/fwlink/?linkid=2095043 中所述。
示例值:
{
"abcdefghijklmnopabcdefghijklmnop": {
"blocked_permissions": [
"history"
],
"installation_mode": "allowed",
"minimum_version_required": "1.0.1"
},
"bcdefghijklmnopabcdefghijklmnopa": {
"runtime_blocked_hosts": [
"*://*.contoso.com"
],
"allowed_permissions": [
"downloads"
],
"update_url": "https://contoso.com/update_url",
"runtime_allowed_hosts": [
"*://good.contoso.com"
],
"installation_mode": "force_installed"
},
"cdefghijklmnopabcdefghijklmnopab": {
"blocked_install_message": "Custom error message.",
"installation_mode": "blocked"
},
"*": {
"blocked_permissions": [
"downloads",
"bookmarks"
],
"installation_mode": "blocked",
"runtime_blocked_hosts": [
"*://*.contoso.com"
],
"blocked_install_message": "Custom error message.",
"allowed_types": [
"hosted_app"
],
"runtime_allowed_hosts": [
"*://good.contoso.com"
],
"install_sources": [
"https://company-intranet/apps"
]
},
"defghijklmnopabcdefghijklmnopabc,efghijklmnopabcdefghijklmnopabcd": {
"blocked_install_message": "Custom error message.",
"installation_mode": "blocked"
},
"fghijklmnopabcdefghijklmnopabcde": {
"blocked_install_message": "Custom removal message.",
"installation_mode": "removed"
},
"update_url:https://www.contoso.com/update.xml": {
"blocked_permissions": [
"wallpaper"
],
"allowed_permissions": [
"downloads"
],
"installation_mode": "allowed"
}
}
压缩示例值:
{"abcdefghijklmnopabcdefghijklmnop": {"blocked_permissions": ["history"], "installation_mode": "allowed", "minimum_version_required": "1.0.1"}, "bcdefghijklmnopabcdefghijklmnopa": {"runtime_blocked_hosts": ["*://*.contoso.com"], "allowed_permissions": ["downloads"], "update_url": "https://contoso.com/update_url", "runtime_allowed_hosts": ["*://good.contoso.com"], "installation_mode": "force_installed"}, "cdefghijklmnopabcdefghijklmnopab": {"blocked_install_message": "Custom error message.", "installation_mode": "blocked"}, "*": {"blocked_permissions": ["downloads", "bookmarks"], "installation_mode": "blocked", "runtime_blocked_hosts": ["*://*.contoso.com"], "blocked_install_message": "Custom error message.", "allowed_types": ["hosted_app"], "runtime_allowed_hosts": ["*://good.contoso.com"], "install_sources": ["https://company-intranet/apps"]}, "defghijklmnopabcdefghijklmnopabc,efghijklmnopabcdefghijklmnopabcd": {"blocked_install_message": "Custom error message.", "installation_mode": "blocked"}, "fghijklmnopabcdefghijklmnopabcde": {"blocked_install_message": "Custom removal message.", "installation_mode": "removed"}, "update_url:https://www.contoso.com/update.xml": {"blocked_permissions": ["wallpaper"], "allowed_permissions": ["downloads"], "installation_mode": "allowed"}}
Registry Hive | HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER |
Registry Path | Software\Policies\Microsoft\Edge |
Value Name | ExtensionSettings |
Value Type | REG_SZ |
Default Value |