window.onunload is not working properly in Chrome
There are some actions which are not working in chrome, inside of the unload event. Alert or confirm boxes are such things. But what is possible (AFAIK): Open popups (with window.open) – but this will just work, if the popup blocker is disabled for your site Return a simple string (in beforeunload event), which triggers … Read more