pbAreDefaultScriptDialogsEnabled - cWebView2Browser
Controls whether the browser will show default script dialogs {e.g. alert & confirm)
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbAreDefaultScriptDialogsEnabled
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbAreDefaultScriptDialogsEnabled to BooleanVariable |
| Write Access: | Set pbAreDefaultScriptDialogsEnabled to BooleanVariable/Value |
Description
Controls whether the browser will show default script dialogs (e.g. alert & confirm).
Note that OnScriptDialogOpening can be implemented to customize script dialogs.
Note that changes to this property at runtime are only applied after the next page load.
Default: True