JsDialogTypeRegex
A regular expression that must match the dialog type for a dialog to be handled. You can specify:
Alert
- dialogs generated by thealert()
method, which typically consist of a message and an "OK" button.Confirm
- dialogs generated by theconfirm()
method, which typically consist of a message with "OK" and "Cancel" buttons.Prompt
- dialogs generated by theprompt()
method, which typically consist of a message, a text input box, and "OK" and "Cancel" buttons.BeforeUnload
- a dialog presented by abeforeunload
event handler.
Type: | Regular expression |
Default: | .* (all types) |
Required: | No |
Configuration Section: | Any section specified by JsDialogSections, or TaskName |
Example: | JsDialogTypeRegex=Prompt
|
See Also: |