Suppress JavaScript Dialogs triggered from different origin subframes
- Policy ID
- SuppressDifferentOriginSubframeDialogs
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Windows 7 or later
- Source
- Google Chrome Policy Templates (version 156.0.8078.80)
- Category
- Google › Google Chrome
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.
Registry
ComputerHKEY_LOCAL_MACHINE
- SuppressDifferentOriginSubframeDialogsREG_DWORD
UserHKEY_CURRENT_USER
- SuppressDifferentOriginSubframeDialogsREG_DWORD