摘要: <script type="text/javascript"> 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) { alert("是关闭而非刷新"); window. 阅读全文
posted @ 2012-03-09 16:39 江宁织造 阅读(1039) 评论(0) 推荐(0) 编辑