<script type="text/javascript">
        window.onbeforeunload = function () {
            if (event.clientY < 0 || event.altKey) {
                event.returnValue = "是否关闭?";
            }
        }
</script>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2021-12-06
  • 2021-12-06
  • 2021-12-23
  • 2021-10-09
猜你喜欢
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案