在window.close();?前加上

window.opener=null;

就不会提示’是否要关闭本窗口’了!

如:
<script language="javascript">
    window.open('index.html','','status=no');
    window.opener=null;
    window.close();
</script>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-01
猜你喜欢
  • 2021-09-30
  • 2021-11-20
  • 2021-11-27
  • 2021-09-23
  • 2021-07-10
  • 2021-12-21
相关资源
相似解决方案