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

這個網誌中的熱門文章

取消Excel與word網際網路與網路路徑超連結自動格式

Upgrade php and httpd(apache) on CentOS 7