下面是一个窗体自动关闭功能,可以刷新,但是不能关闭浏览器,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<script type="text/javascript">
  var i=3;
 function clock(){
i=i-1;
   
    if(i>0){
document.getElementById("statisticsDiv").innerHTML="本窗口将在<font color='#FF3300'>"+i+"</font>秒后自动关闭!";
window.setInterval("clock();",1000);
 
}else{ 
window.opener=null; 
                window.open('', '_self', ''); 
                window.close();  }

}
 
</script><body onload="clock()">
<p>&nbsp;</p>
 
 <div id="statisticsDiv"></div>
</body>
</html>html如何关闭安卓浏览器