You, too, can annoy your friends, neighbors, and website customers with these unruly pop-up windows. Just add the Open Browser Window action to the <body> tag of your document. Now, when that page loads, a new browser window opens with the ad, announcement, or picture you specify. To be even more annoying, use the onUnload event of the <body> tag to open a new browser window—with the same web page—when your visitors try to exit the page. They won't be able to get to a different page, and may even encounter system crashes. Now that's annoying! Fortunately, most current web browsers prevent these kinds of automatic window-opening tricks, and will only open a new browser window when your visitor clicks a link.
{}