Javascript How To Close Window Without Warning

How to bypass the warning that is displayed when you close the window?

function closeWin() { 
    window.open('', '_self', ''); 
    window.close(); 
} 

function closeWindow() {
    self.opener = this;
    self.focus();
    self.close();
}

top.close();

javascript:top.close();

See http://blog.clauskonrad.net/2010/01/how-to-close-browser-window-without.html

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License