Unload events in Safari
Apparently unload events have a hard time firing in Safari unless you use the one method that none of the other browser’s fully support, addEventListener()
. I wrote a blog entry about how to get Safari, Mozilla/Firefox and Internet Explorer to work with unload events in our work blog.