Suppress JavaScript Dialogs triggered from different origin subframes
Supported on: Microsoft Windows 7 or later
Registry
Software\Policies\Google\Chrome Software\Policies\Google\Chrome Value name: SuppressDifferentOriginSubframeDialogs
Enabled: SuppressDifferentOriginSubframeDialogs = 1
Disabled: SuppressDifferentOriginSubframeDialogs = 0
Description
As described in https://www.chromestatus.com/feature/5148698084376576 , JavaScript modal dialogs, triggered by window.alert, window.confirm, and window.prompt, will be blocked in Google Chrome if triggered from a subframe whose origin is different from the main frame origin. This policy allows overriding that change. If the policy is set to enabled or unset, JavaScript dialogs triggered from a different origin subframe will be blocked. If the policy is set to disabled, JavaScript dialogs triggered from a different origin subframe will not be blocked. This policy will be removed from Google Chrome in the future.