September 10, 2001

Not-so-stupid Web tricks

One of the little tricks we've talked about here is how to do those nifty little pop-up windows. They serve a good purpose when you need to pull up a graphic or page in a separate window and still allow your reader to stay on the parent page. But, as with all good things, someone will think of a way to exploit it. Thus the use of "exit pop-ups" using onunload javascript event. The worse offenders are the scripts that spawn a new page that again spawns another page, on into infinity.

Finally, I have run across a way to defeat these pesty little scripts:

Pop-ups from hell