title: Can javascript detect if a new window or browser is opened?
body: <p>Okay! So, I have what appears to be "too-complex a problem" right now. I have to open a URL provided by the user after a period of 10 seconds. And once that window is opened, I have to check if any other window or browser was opened in the next 10 seconds. If not, I just close the present window with an alert. If a window or browser was opened, I have to alert the user informing about it. </p>
  
  <p>Been working on this for 4-5hours now. But, haven't found a thing. </p>
  
  <p>Does anyone have any idea?</p>
  
  <p>Thanks</p>