try
-----------------------------
<script language=javascript>
window.onbeforeunload=function(){
alert("close");
if (event.clientX>document.body.clientWidth && event.clientY<0 || event.altKey)
{
var myWin = window.open('http://www.csdn.net')
//window.event.returnValue=""; 页面提示
}
}
</script>
-----------------------------
<script language=javascript>
window.onbeforeunload=function(){
alert("close");
if (event.clientX>document.body.clientWidth && event.clientY<0 || event.altKey)
{
var myWin = window.open('http://www.csdn.net')
//window.event.returnValue=""; 页面提示
}
}
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货