Skip to content

Commit

Permalink
Fix handle any user prompts to set the type for beforeunload prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo committed Jun 7, 2024
1 parent 48a221b commit 704b70e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10645,6 +10645,8 @@ <h3>User Prompt Handler</h3>

<li><p>If the <a>current user prompt</a> is an alert dialog,
set <var>type</var> to "<code>alert</code>". Otherwise, if
the <a>current user prompt</a> is a beforeunload dialog,
set <var>type</var> to "<code>beforeunload</code>". Otherwise, if
the <a>current user prompt</a> is a confirm dialog,
set <var>type</var> to "<code>confirm</code>". Otherwise, if
the <a>current user prompt</a> is a prompt dialog,
Expand Down

0 comments on commit 704b70e

Please sign in to comment.