chrome_dialog
Read and respond to blocking JavaScript alert, confirm, prompt, or beforeunload dialogs in Chrome: check the message, then accept or dismiss it, providing prompt text if needed.
Instructions
Inspect or answer a JavaScript dialog (alert/confirm/prompt/beforeunload) that is blocking a tab. Dialogs are never accepted automatically: read the message, then accept or dismiss (promptText for prompt()).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Chrome tab id (default: active tab) | |
| action | No | status | |
| promptText | No |