title: Javascript - window.close, self.close, parent.close, none works to close window, tab in Google Chrome
body: <p><strong>FAIL:</strong></p>
  
  <ul>
  <li>chrome window/tab does not get closed</li>
  </ul>
  
  <p>Code:</p>
  
  <pre><code>&lt;script&gt;
  function callKiller() {
    window.close();
    self.close();
    parent.close();
  
    setTimeout(function() { 
      try { 
        window.close(); 
        self.close(); 
        parent.close()
      }catch(e) {
        console.log(e, 'idiot browsers, why you cant kill it you idiot'); 
      } 
    }, 10000);
  }
  &lt;/script&gt;
  
  &lt;!--
  
    Plugin:
  
      - Detect iOS?, Android !Chrome
      - Safari?
      - IE or IE EDGE??? 
  
    Then close the window, Cause no service cant be offered                          
  --&gt;
  &lt;body onLoad=callKiller(); &gt;
    Sorry, we cant offer you any service. 
      Safari do not have WebRTC and they wont have it anytime sooner. 
      IE Edge do not have WebRTC. Its ORTC not WebRTC. 
      Read the Wiki
      iOS we have no time, for you to write everything in Objective-C, go learn yourself Objective-C
  </code></pre>
  
  <p></p>