function CloseOpen(event) {
if(event.clientX<=0 && event.clientY<0) {
alert(“关闭”);
}
else
{
alert(“刷新或离开”);
}
}
// –></mce:script>
<body onunload=”CloseOpen(event)”>
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/13675.html