title: How can I close a browser window without receiving the "Do you want to close this window" prompt?
body: <p>How can I close a browser window without receiving the <em>Do you want to close this window</em> prompt?</p>
  
  <p>The prompt occurs when I use the <code>window.close();</code> function.</p>