序號 | 關閉代碼 | 須要確認 | 無任何做用 | 無需確認 |
1 | window.close() | IE7 | firefox,chrome, safari |
Opera |
2 | window.opener=null; window.open('','_self'); window.close(); |
firefox | IE7,Opera, chrome,safari |
|
3 | window.open('','_self'); window.close(); |
firefox | IE7,Opera, chrome,safari |
|
4 | window.opener=null; window.close(); |
IE7 | firefox,safari | chrome,Opera |
5 | var opened=window.open('about:blank','_self'); opened.opener=null; opened.close(); |
firefox | safari,IE7, chrome,Opera |
|
6 | var opened=window.open('about:blank','_self'); opened.close(); |
safari,firefox | firefox,IE7, chrome,Opera |