JavaScript 幾種關閉視窗語法
1. window.open('','_self'.''); window.close(); # for IE >=7
2. window.opener=null; window.close(); # for IE=6
3. window.opener=''; window.close(); # for IE other
參考資料
https://stackoverflow.com/questions/57854/how-can-i-close-a-browser-window-without-receiving-the-do-you-want-to-close-thi
https://www.w3schools.com/jsref/met_win_close.asp
2. window.opener=null; window.close(); # for IE=6
3. window.opener=''; window.close(); # for IE other
參考資料
https://stackoverflow.com/questions/57854/how-can-i-close-a-browser-window-without-receiving-the-do-you-want-to-close-thi
https://www.w3schools.com/jsref/met_win_close.asp