序号 关闭代码 需要确认 无任何作用 无需确认
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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-29
  • 2022-12-23
  • 2021-10-11
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2021-12-23
  • 2021-12-09
  • 2022-12-23
相关资源
相似解决方案