<html>
<body>
<script>
window.open("http://example.com/" + location.hash, "foo");
</script>
</body>
</html>