ADMX Viewer
Microsoft.Policies.Edge• Both

Default JavaScript setting

Set whether websites can run JavaScript. You can allow it for all sites ('AllowJavaScript') or block it for all sites ('BlockJavaScript'). If you don't configure this policy, all sites can run JavaScript by default, and the user can change this setting. Policy options mapping: * AllowJavaScript (1) = Allow all sites to run JavaScript * BlockJavaScript (2) = Don't allow any site to run JavaScript Use the preceding information when configuring this policy.

Policy Details

Policy Name
DefaultJavaScriptSetting
Registry Key
Software\Policies\Microsoft\Edge
Supported On
Microsoft Edge version 77, Windows 7 or later
Available Languages
en-us

Configuration Elements

Default JavaScript setting

Type: enum

Allowed Values
  • 1 Allow all sites to run JavaScript
  • 2 Don't allow any site to run JavaScript