Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Control use of JavaScript optimizers
Supported versions
- On Windows and macOS since 134 or later
Description
Allows you to set whether Microsoft Edge will run the v8 JavaScript engine with more advanced JavaScript optimizations enabled.
Disabling JavaScript optimizations (by setting this policy's value to 2) will mean that Microsoft Edge may render web content more slowly.
This policy can be overridden for specific URL patterns using the JavaScriptOptimizerAllowedForSites and JavaScriptOptimizerBlockedForSites policies.
If you don't configure this policy, JavaScript optimizations are enabled.
Policy options mapping:
AllowJavaScriptOptimizer (1) = Enable advanced JavaScript optimizations on all sites
BlockJavaScriptOptimizer (2) = Disable advanced JavaScript optimizations on all sites
Use the preceding information when configuring this policy.
Policy options mapping:
Use this information when configuring this policy.
- AllowJavaScriptOptimizer (1) = Enable advanced JavaScript optimizations on all sites
- BlockJavaScriptOptimizer (2) = Disable advanced JavaScript optimizations on all sites
Supported features
- Can be mandatory: Yes
- Can be recommended: No
- Dynamic Policy Refresh: Yes
- Per Profile: Yes
- Applies to a profile that is signed in with a Microsoft account: No
Data type
- Integer
Windows information and settings
Group Policy (ADMX) info
- GP unique name: DefaultJavaScriptOptimizerSetting
- GP name: Control use of JavaScript optimizers
- GP path (Mandatory): Administrative Templates/Microsoft Edge/Content settings
- GP path (Recommended): N/A
- GP ADMX file name: MSEdge.admx
Example value
Enable advanced JavaScript optimizations on all sites
Registry settings
- Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
- Path (Recommended): N/A
- Value name: DefaultJavaScriptOptimizerSetting
- Value type: REG_DWORD
Example registry value
0x00000001
Mac information and settings
- Preference Key name: DefaultJavaScriptOptimizerSetting
- Example value:
<integer>1</integer>