JavaScriptAllowedForUrls

Allow JavaScript on these sites

Supported on:

  • Chrome (Windows) since version 11

Description:

Setting the policy lets you set a list of URL patterns that specify the sites that can run JavaScript.

Leaving the policy unset means DefaultJavaScriptSetting applies for all sites, if it's set. If not, the user's personal setting applies.

For detailed information on valid URL patterns, see the documentation for URL patterns. Wildcards, *, are allowed.

Supported features:

  • Applied to browser without restart. Note that some ongoing tasks may not be affected.
  • Applied at Samsung Browser profile level.

Data type:

List of strings

Windows registry location:

Software\Policies\Samsung\Internet\JavaScriptAllowedForUrls

Example value:

Software\Policies\Samsung\Internet\JavaScriptAllowedForUrls\1 = https://www.example.com
Software\Policies\Samsung\Internet\JavaScriptAllowedForUrls\2 = [*.]example.edu

More policies under Content settings: