title: window.close and self.close do not close the window in Chrome
body: <p>The issue is that when I invoke <code>window.close()</code> or <code>self.close()</code> it doesn't close the window. Now there seems to be a belief that in Chrome you can't close by script any window that is not script created. That is patently false but regardless it is supposed to still do it, even if it requires to pop up an alert to confirm. These are not happening.</p>
  
  <p>So does anyone have real, functional and proven method of closing a window using something like <code>javascript:window.close()</code> or <code>javascript:self.close()</code> that actually does what is expected and something that happens just fine in every browser that is NOT Chrome based? Any suggestions would be greatly appreciated and I am looking for Javascript specific solution, nothing JQuery or third party implementation. </p>
  
  <p><strong>Update:</strong> While much of what has been suggested has serious limitations and usability issues, the latest suggestion (specific to TamperMonkey) using <strong><code>// @grant        window.close</code></strong> in the script header will often do the trick even on those tabs that normally can't handle the close method. While not entirely ideal and doesn't generalized to every case, it is a good solution in my case.</p>