title: If user refuses to leave a page in the onbeforeunload event, is there an event fired afterwards?
body: <p>The subject is pretty much says it all. I would like to display another div if the user decides to stay on the page. Is there an event I can listen for if they refuse page navigation?</p>
  
  <p>I found this here, <a href="https://stackoverflow.com/questions/821481/detecting-whether-user-stayed-after-prompting-onbeforeunload">Detecting whether user stayed after prompting onBeforeUnload</a>
  But I can't get this to work at all. I don't "own" the buttons that are displayed, so I can't monitor clicks, or can I?</p>