<script>
function closewindow()
{
//top.window.opener = top;
//top.window.open('','_self','');
// top.window.close();
window.close();
window.opener=null;
}
setTimeout("closewindow",1000)
</script>
<script>
function closewindow()
{
//top.window.opener = top;
//top.window.open('','_self','');
// top.window.close();
window.close();
window.opener=null;
}
setTimeout("closewindow",1000)
</script>
转载于:https://www.cnblogs.com/mygood/articles/1396863.html