Default JavaScript setting
Supported on: Microsoft Edge version 77, Windows 7 or later
Registry
HKLM
Software\Policies\Microsoft\Edge HKCU
Software\Policies\Microsoft\Edge Options
DefaultJavaScriptSetting enum - Allow all sites to run JavaScript
->
1 - Don't allow any site to run JavaScript
->
2
Description
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.