title: Tracking browser actions from Objective-C
body: <p>I would be opening a URL from objective-c in a MAC OS X Application ( safari would suffice).</p>
  
  <p>But, I want to know if the user closes the tab or navigates to other page or submits it.
  So that I can take a corrective action.</p>