Detecting changes in window.location
<p>I am trying to detect changes in window.location (for example to be notified if the user tries to reload the page) but I can't seem to find a way to do that.
Are there some events associated with it?</p>

<p>Thanks</p>
