title: window.close() => "Scripts may close only the windows that were opened by it." & Outlook behavior
body: <p>I have a link in my webpage to close window in javascript :</p>
  
  <pre><code>&lt;a href="#" onclick="window.close()"&gt;Close the window&lt;/a&gt;
  </code></pre>
  
  <p>But when I click it, I have this error in console :</p>
  
  <pre><code>Scripts may close only the windows that were opened by it.
  </code></pre>
  
  <p>I have done a search on google, and now, I know why. This is the normal behavior (for security reasons I think).</p>
  
  <p>But when I send the link of my page via Outlook, and then, I click to close the page : It works ! Why ???</p>