Capture browser close event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • KS

    Capture browser close event

    Is it possible to somehow capture that the user is closing the browser by
    clicking the X at the top right corner?
    I want to run a javascript when that happends, if possible.


  • VK

    #2
    Re: Capture browser close event

    <http://groups-beta.google.com/group/comp.lang.javas cript/browse_frm/thread/2b000aaf0703810 a/cb9217f0efa0f13 d#cb9217f0efa0f 13d>

    Comment

    Working...