title: JavaScript cross browser window close issue
body: <p>I have this code here:</p>
  
  <pre><code>&lt;?php
      error_reporting(0);
      if(isset($_GET['bd'])){
  ?&gt;
  
  &lt;script&gt;
      window.close();
  &lt;/script&gt;
  
  
  &lt;?php
  
  }
  </code></pre>
  
  <p>Which is working okay in Chrome, but not working in FireFox.
  Is there a known issue with this?
  How can I get it to work consistently across the mentioned browsers?</p>