title: How can I capture the onfocus event of child iframes?
body: <p><code>window.onfocus</code> is not getting fired when the focus is on a child <code>iframe</code>.</p>
  
  <p>I'm looking for an event which will be fired when the user is switching the tab to current page. (If possible without modifying child iframes)</p>