加个确认吧
<script>
function OpenWin()
{
if(confirm("yes to close or no to refresh"))
alert("close-klose!");
}
</script>
<body bgcolor="#FFFFFF" text="#000000" onload="ifexe=true" onbeforeunload="OpenWin()">
<script>
function OpenWin()
{
if(confirm("yes to close or no to refresh"))
alert("close-klose!");
}
</script>
<body bgcolor="#FFFFFF" text="#000000" onload="ifexe=true" onbeforeunload="OpenWin()">
if (event.clientX > document.body.clientWidth && event.clientY < 0)
alert("关闭窗口")
</script>
<script for=window event=onbeforeunload>
if (event.clientX>document.body.clientWidth &&event.clientY<0||event.altKey)
return("确实要关闭窗口?")
</script>
居然对看klose的表演没有兴趣?这才是我心目中的德国战车,又让我怀想1990了
不能忍受没有了ballack的决战
<script for=window event=onbeforeunload>
if (event.clientX>document.body.clientWidth &&event.clientY<0||event.altKey)
return ""
</script>
在刷新时yourfun()不会执行,伙其