Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

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

View gist:1258708
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.