原理如下
PluginsAllowedForUrls
Allow the Flash plugin on these sites
Data type:
Location
- Windows registry location for Windows clients:
- Software\Policies\Google\Chrome\PluginsAllowedForUrls
- Windows registry location for Google Chrome OS clients:
- Software\Policies\Google\ChromeOS\PluginsAllowedForUrls
- Mac/Linux preference name:
Supported on:
- Google Chrome (Linux, Mac, Windows) since version 11
- Google Chrome OS (Google Chrome OS) since version 11
Supported features:
Dynamic Policy Refresh: Yes, Per Profile: Yes
Description:
Allows you to set a list of url patterns that specify sites which are allowed to run the Flash plugin.
If this policy is left not set the global default value will be used for all sites either from the 'DefaultPluginsSetting' policy if it is set, or the user's personal configuration otherwise.
Example value:
-
Windows (Windows clients):
Software\\Policies\\Google\\Chrome\\PluginsAllowedForUrls\\1 = "https://www.example.com"
Software\\Policies\\Google\\Chrome\\PluginsAllowedForUrls\\2 = "\[\*.\]example.edu"
-
Windows (Google Chrome OS clients):
Software\Policies\Google\ChromeOS\PluginsAllowedForUrls\1 = "https://www.example.com"
Software\Policies\Google\ChromeOS\PluginsAllowedForUrls\2 = "[*.]example.edu"
-
Android/Linux:
[
"https://www.example.com",
"[*.]example.edu"
]
Mac:
<array>
<string>https://www.example.com</string>
<string>[*.]example.edu</string>
</array>
|