en-US

Allow JavaScript on specific sites

Supported on: Microsoft Edge version 77, Windows 7 or later

Registry

HKLM Software\Policies\Microsoft\Edge
HKCU Software\Policies\Microsoft\Edge

Options

List (registry values) list - list under Software\Policies\Microsoft\Edge\JavaScriptAllowedForUrls

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