I don't think that tab close event is detectable but look at this link https://developer.mozilla.org/en/DOM/window.onbeforeunload window.onbeforeunload events fires when user navigates away from page. So this event is fires when user clicks on any link on your page, or closes tab, or uses browser's forward and back buttons
On Oct 31, 1:56 pm, Amit Agarwal <[email protected]> wrote: > How to detect tab close event in webkit based browsers? > > -Amit -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
