You need to be logged in to post in the forums. If you do not have an account, please sign up first.
window.onunload
Hi all,I'm using opera 10.51 (os windows xp)
within this simple code:
window.onunload = myFunction;
function myFunction()
{
// here my code
}
It seems to me that myFunction is never called.
I have tryed
opera.setOverrideHistoryNavigationMode('compatible');
but it seems that has no effect.
Could someone help me?
Are there examples?
Welcome ! 
It does not work if the window/tab is closed. Works everywhere else. Known limitation.

It does not work if the window/tab is closed. Works everywhere else. Known limitation.
For a collection of user scripts visit
http://my.opera.com/xErath/blog/
http://my.opera.com/xErath/blog/