网页基本操作

定时关闭

<html>
<body onload='setTimeout("mm()",2000)'>
<script>function mm()
{ window.opener=null; 
  window.close();
} 
</script>
<body>
<html>




跳出网页

window.open( url,'newwindow', 'width=200, height=1, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=0, status=no' );


原文地址:https://www.cnblogs.com/xianyadan/p/6523048.html