Allow JavaScript on specific sites

Policy ID
JavaScriptAllowedForUrls
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 77, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge › Content settings

Description

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

Options

  • Allow JavaScript on specific sites

Registry

Other policies in the same category

View all policies in this category (75)