Unload event in Opera 10.53

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

27. May 2010, 13:12:06

Unload event in Opera 10.53

Why unload event doesn't work with Opera 10.53?
I did it:
$(window).unload(function() { alert('Tchau!'); });
Thank you.

27. May 2010, 22:23:52

xErath

javascript guru

Posts: 6588

Originally posted by proveyourselft:

Why unload event doesn't work with Opera 10.53?


It works partially. If the tab is still open when unload should fire, like when navigating in history, then it will fire.
For a collection of user scripts visit
http://my.opera.com/xErath/blog/

Forums » Opera for Windows/Mac/Linux » Opera browser