<script type="text/javascript"> window.onbeforeunload = function () { if (event.clientY < 0 || event.altKey) { event.returnValue = "是否关闭?"; } } </script>
Powered by: 博客园 Copyright © 2024 Rich.T Powered by .NET 9.0 on Kubernetes