Policy
Default JavaScript setting
Microsoft Edge
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows7
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.
Internal name
DefaultJavaScriptSetting
Policy ID
7fa360f3aa72
Elements
1
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
Default JavaScript setting ID DefaultJavaScriptSetting | enum | Path Software\Policies\Microsoft\Edge Value name DefaultJavaScriptSetting Type REG_DWORD | Options: Allow all sites to run JavaScript (1), Don't allow any site to run JavaScript (2) |
Default JavaScript setting
Registry mapping
Path
Software\Policies\Microsoft\Edge
Value name
DefaultJavaScriptSetting
Type
REG_DWORD
Details
Options: Allow all sites to run JavaScript (1), Don't allow any site to run JavaScript (2)