$(window).unload(); does not seem to work on the lastest Chrome build (14.0.835.186 Ubuntu)

  • Download Gist
1 2 3 4 5 6 7 8 9
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.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.