Created
October 3, 2011 08:42
-
-
Save Calvein/1258708 to your computer and use it in GitHub Desktop.
$(window).unload(); does not seem to work on the lastest Chrome build (14.0.835.186 Ubuntu)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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