Tag Archives for detect browser close

How do i detect if a browser window is closed or refreshed ?

This was the question I was asking myself when I  had to write a piece of code which needed to respond differently on browser close and on browser refresh. To my worst nightmare i found this issue seemed to trouble … Continue reading

16. August 2012 by Anand
Categories: All Browsers, Browser, Javascript, Languages | Tags: , , , , , | 37 comments