dialog_auto_handle
Install a persistent browser dialog handler that automatically accepts or dismisses JavaScript alerts, confirms, and prompts across all tabs. Change the action anytime without reinstalling, or disable to remove.
Instructions
Install a PERSISTENT dialog handler that stays armed across every dialog and every tab (dialog_handle is one-shot). Reads its action at fire time, so you can change it without re-arming. Set enabled=false to remove it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | accept | |
| enabled | No | ||
| prompt_text | No | Text to submit for prompt() dialogs. |