Allow JavaScript on specific sites
Jump to overview

Policy overview

Key metadata and intent for this policy.

Category
Microsoft Edge > Content settings
Supported on
Microsoft Edge version 77, Windows 7 or later

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.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
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
Both · Type list
Registry mapping
Path
Software\Policies\Microsoft\Edge\JavaScriptAllowedForUrls
Value name
1, 2, …
Type
REG_SZ
Details
List: standard