1 2 3
<body> <a href="#" onclick="window.open('close_beforeunload.html', '_blank')">Open second tab</a> </body>