//禁止刷新提示
window.onbeforeunload = function() {
var n = window.event.screenX - window.screenLeft;
var b = n > document.documentElement.scrollWidth-20;
if(b && window.event.clientY < 0 || window.event.altKey){
}else{
location.href=location.href; //当前页面等于当前页面
}
}