这个怎么判断呀:
<script language="javascript">
window.onbeforeunload = function() //author: meizz
{
var n = window.event.screenX - window.screenLeft;
var b = n < document.documentElement.scrollWidth-20;
if(b && window.event.clientY < 0)
{
alert("你点了刷新按钮");
}
}
</script>
<script language="javascript">
window.onbeforeunload = function() //author: meizz
{
var n = window.event.screenX - window.screenLeft;
var b = n < document.documentElement.scrollWidth-20;
if(b && window.event.clientY < 0)
{
alert("你点了刷新按钮");
}
}
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货