Browser close event identification

11 views
Skip to first unread message

Michal Ban

unread,
Dec 23, 2013, 6:43:03 AM12/23/13
to google-ajax...@googlegroups.com
Hi ,

How to identify the following events in jquery..?

1) Browser tab close
2) Browser close 

I need to identify only these two events, not a on-before page unload event. 
So if user navigates through sites it should now show any message. But when the user clicks close browser  or  browser tab it should show the message.

Thanks
Reply all
Reply to author
Forward
0 new messages