Default JavaScript setting

Setting the policy to 1 lets websites run JavaScript. Setting the policy to 2 denies JavaScript.

Leaving it unset allows JavaScript, but users can change this setting.

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family
Default JavaScript setting


  1. Allow all sites to run JavaScript
    Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    Registry PathSoftware\Policies\Google\Chrome
    Value NameDefaultJavaScriptSetting
    Value TypeREG_DWORD
    Value1
  2. Do not allow any site to run JavaScript
    Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    Registry PathSoftware\Policies\Google\Chrome
    Value NameDefaultJavaScriptSetting
    Value TypeREG_DWORD
    Value2


chrome.admx

Administrative Templates (Computers)

Administrative Templates (Users)