3 <title>Block alert from blocked popup?
</title>
5 if (location
.search
.indexOf("popup") != -1) {
6 document
.write("This should still be inside the tab, but it is now " +
8 alert("The popup has been \"popped out\" of the tab");
10 window
.open("?popup");
15 <h1>Block alert from blocked popup?
</h1>