Beforeunload is a project mainly written in ..., it's free.
alert(confirm) at closure and diversion
404: Not Found