Source code
Revision control
Copy as Markdown
Other Tools
<html>
<head>
<script>
var w;
function openIt() {
  w = window.open("", "window2");
}
function closeIt() {
  if (w) {
    w.close();
    w = null;
  }
}
</script>
</head>
<body onload="openIt();" onunload="closeIt();">
</body>
</html>