Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
$(window).unload(); does not seem to work on the lastest Chrome build (14.0.835.186 Ubuntu)
The simple test on the exemple page does not work on Chrome
`$(window).unload( function () { alert("Bye now!"); } );`
It fired an error : "Blocked alert('Bye now!') during unload."
I can't find if it's a Chrome or jQuery bug or if it's a security thing.
But it works fine on Chromium 13.0.782.41 Ubuntu.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment