onBeforeunload
Event test sample
Go