当关闭浏览器时可以发送信息到clock.asp页面
<script language="javaScript">
function removeline(){
if(event.clientX<0&&event.clientY<0)
{
alert("hello");
var XmlHttp = new ActiveXObject("Msxml2.XMLHTTP")
XmlHttp.Open("GET", "clock.asp", false );
XmlHttp.Send();
alert("world");
}
}
</script>
<body οnunlοad="removeline();">