Default JavaScript setting

Policy ID
DefaultJavaScriptSetting
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 77, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge › Content settings

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.

Options

  • Default JavaScript setting
    • Allow all sites to run JavaScript
    • Don't allow any site to run JavaScript

Registry

ComputerHKEY_LOCAL_MACHINE
  • DefaultJavaScriptSettingREG_DWORD
UserHKEY_CURRENT_USER
  • DefaultJavaScriptSettingREG_DWORD

Other policies in the same category

View all policies in this category (75)