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 a lot a people, i went through lots of forums and blogs which gave multiple
Read More »