form-before-unload-confirm
Demo
Submit
example.com
Procedure
Enter something in the input field.
Select the appropriate anchor link
without
pressing the submit button, or press F5.
The browser should bring up a confirmation dialog.