function openwin() {
window.open ("page.html", "newwindow", "height=100, width=400, toolbar =no, menubar=no, scrollbars=no, resizable=no, location=no, status=no") }
window.confirm("你确认要关闭窗口吗?");//返回ture/false
<a href="javascript:window.close()">关闭窗口</a>
<script>window.status="aaaaaaaaaaa";……</script>//下方状态栏
<input type="button" value="刷新页面"οnclick="window.location.reload()" />
< input type="button" value="链接"οnclick="window.location.href('Untitled-6.html')" />
< input type="button" value="前进"οnclick="window.history.forward()" />
< input type="button" value="后退"οnclick="window.history.back()" />
< input type="button" value="后退"οnclick="window.history.go(-1)" />