Open in the explorer

Control use of JavaScript JIT

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Google › Google Chrome › Content settings User Configuration › Policies › Administrative Templates › Google › Google Chrome › Content settings
Supported on
Microsoft Windows 7 or later
ADMX file
chrome.admx
Internal name
chrome/DefaultJavaScriptJitSetting

Explanation

Allows you to set whether Google Chrome will run the v8 JavaScript engine with JIT (Just In Time) compiler enabled or not.

Disabling the JavaScript JIT will mean that Google Chrome may render web content more slowly, and may also disable parts of JavaScript including WebAssembly. Disabling the JavaScript JIT may allow Google Chrome to render web content in a more secure configuration.

This policy can be overridden for specific URL patterns using the JavaScriptJitAllowedForSites and JavaScriptJitBlockedForSites policies.

If this policy is left not set, JavaScript JIT is enabled.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome
HKEY_CURRENT_USER\Software\Policies\Google\Chrome
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: chrome/DefaultJavaScriptJitSetting
$k = 'HKLM:\Software\Policies\Google\Chrome'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Control use of JavaScript JIT
# Possible options:
#   Allow any site to run JavaScript JIT = 1
#   Do not allow any site to run JavaScript JIT = 2
Set-ItemProperty -Path $k -Name 'DefaultJavaScriptJitSetting' -Value 1 -Type DWord

Disable

# Disable: chrome/DefaultJavaScriptJitSetting
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": chrome/DefaultJavaScriptJitSetting
$k = 'HKLM:\Software\Policies\Google\Chrome'
Remove-ItemProperty -Path $k -Name 'DefaultJavaScriptJitSetting' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Control use of JavaScript JITDefaultJavaScriptJitSettingDrop-down listenumDefaultJavaScriptJitSettingREG_DWORD
LabelValue
Allow any site to run JavaScript JITREG_DWORD = 1
Do not allow any site to run JavaScript JITREG_DWORD = 2

Application

Google Chrome (Google) — November 2026 templates

Official templates downloaded on November 12, 2026.