Fork me on GitHub
Home
Simple
Unregister
Multiple
Custom

Multiple conditions beforeunload example.

To see it in action, refresh the page. You will be prompted for confirmation, if one or more of the below conditions are checked.

Condition 1

Condition 2