通过设置此政策,您可以控制 Google Chrome 的扩展程序管理设置,其中包括由现有的扩展程序相关政策控制的设置。此政策会取代任何可能已设置的旧版政策。
此政策仅会将某个扩展程序 ID 或某个更新网址映射至其特定的设置。您可为特殊 ID"*"设定默认配置,该配置会应用于未在此政策中设定自定义配置的所有扩展程序。对于更新网址,相应配置会应用于具有在扩展程序清单 ( http://support.google.com/chrome/a?p=Configure_ExtensionSettings_policy ) 中注明的确切更新网址的扩展程序。如果"override_update_url"标记设为 true,系统会根据 ExtensionInstallForcelist 政策中或此政策的"update_url"字段中指定的"更新"网址来安装并更新扩展程序。如果"update_url"是 Chrome 网上应用店网址,"override_update_url"标记会被忽略。
注意:对于未加入 Microsoft® Active Directory® 网域的 Windows® 实例,强制安装仅限于 Chrome 网上应用店中所列的应用和扩展程序。
要详细了解架构和格式,请访问 https://cloud.google.com/docs/chrome-enterprise/policies/?policy=ExtensionSettings。
值示例:
{
"abcdefghijklmnopabcdefghijklmnop": {
"installation_mode": "allowed",
"blocked_permissions": [
"history"
],
"minimum_version_required": "1.0.1",
"toolbar_pin": "force_pinned"
},
"bcdefghijklmnopabcdefghijklmnopa": {
"installation_mode": "force_installed",
"update_url": "https://example.com/update_url",
"allowed_permissions": [
"downloads"
],
"runtime_blocked_hosts": [
"*://*.example.com"
],
"runtime_allowed_hosts": [
"*://good.example.com"
]
},
"cdefghijklmnopabcdefghijklmnopab": {
"installation_mode": "blocked",
"blocked_install_message": "Custom error message."
},
"defghijklmnopabcdefghijklmnopabc,efghijklmnopabcdefghijklmnopabcd": {
"installation_mode": "blocked",
"blocked_install_message": "Custom error message."
},
"update_url:https://www.example.com/update.xml": {
"blocked_permissions": [
"wallpaper"
],
"allowed_permissions": [
"downloads"
],
"installation_mode": "allowed"
},
"fghijklmnopabcdefghijklmnopabcde": {
"installation_mode": "removed",
"blocked_install_message": "Custom removal message."
},
"ghijklmnopabcdefghijklmnopabcdef": {
"installation_mode": "force_installed",
"update_url": "https://example.com/update_url",
"override_update_url": true
},
"*": {
"installation_mode": "blocked",
"blocked_permissions": [
"downloads",
"bookmarks"
],
"install_sources": [
"https://company-intranet/chromeapps"
],
"allowed_types": [
"hosted_app"
],
"runtime_blocked_hosts": [
"*://*.example.com"
],
"runtime_allowed_hosts": [
"*://good.example.com"
],
"blocked_install_message": "Custom error message."
}
}
Registry Hive | HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER |
Registry Path | Software\Policies\Google\Chrome |
Value Name | ExtensionSettings |
Value Type | REG_SZ |
Default Value |