放到head中
<script language='javascript'>
if(window.opener==null){
window.opener=null;
window.close();
window.open('index.html','','toolbar=no,menubar=no,location=no,status=no,width=' + screen.width + ',height=' + screen.height + ',left=0,top=0');
}
</script>