Is there a cross browser javascript / jquery code to detect when the browser or browser tab is closed? And do not activate the event when you go to another link?
If I get you correctly, you want to know that a tab / window is effective By the way, AAPIIK is the only way to find out the kind of stuff like javascript
is the only way onunload
& amp; onbeforeunload
events.
Unfortunately (or fortunately?), Those events are also removed when you leave a site on link
or press your browsers back button This is the best answer I can give, I do not think you can find the pure close
in Javascript. Correct me if I'm wrong here.
No comments:
Post a Comment