Report question

Question: How to capture the browser window close event?