Policy
Allow JavaScript on specific sites
Microsoft Edge
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows7
Define a list of sites, based on URL patterns, that are allowed to run JavaScript. If you don't configure this policy, 'DefaultJavaScriptSetting' (Default JavaScript setting) applies for all sites, when the setting is enabled. If not, the user's personal setting applies. For detailed information about valid url patterns, see https://go.microsoft.com/fwlink/?linkid=2095322. Wildcards, *, are allowed. Example value: https://www.contoso.com [*.]contoso.edu
Internal name
JavaScriptAllowedForUrls
Policy ID
5a80604562e7
Elements
1
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
Allow JavaScript on specific sites ID JavaScriptAllowedForUrlsDesc | list | Path Software\Policies\Microsoft\Edge\JavaScriptAllowedForUrls Value name 1, 2, … Type REG_SZ | List: standard |
Allow JavaScript on specific sites
Registry mapping
Path
Software\Policies\Microsoft\Edge\JavaScriptAllowedForUrls
Value name
1, 2, …
Type
REG_SZ
Details
List: standard