en-US

dom.allow_scripts_to_close_windows

Supported on: Firefox 70 or later, Firefox 68.2 ESR or later

Registry

HKLM Software\Policies\Mozilla\Firefox\Preferences
HKCU Software\Policies\Mozilla\Firefox\Preferences

Value name: dom.allow_scripts_to_close_windows

Enabled: dom.allow_scripts_to_close_windows = 1

Disabled: dom.allow_scripts_to_close_windows = 0

Description

If this policy is enabled, the preference is locked to true. If this policy is disabled, the preference is locked to false. For a description of the preference, see: https://github.com/mozilla/policy-templates/blob/master/README.md#preferences