I need to trigger some method before living my site. I'm using
$(window).blur(blurFunc);
successfully for all browsers except Opera, which is not triggering this event.
I did some research finding
$(window).bind('beforeunload',blurFunc);
might work and indeed this worked for me in one site. However, when implementing this in another site this event was not triggered (without any differences between the sites I can think of (except jquery version which I checked and not effecting).
How can I trigger a function before living page in Opera? - either beforeunload or blur or any other function will be fine...
Opera version is 12.16