This is probably going to become popular enough that the top browsers "fix" it, but here's a link describing how to close any browser window with javascript. Incredibly surprising how many browsers actually support this. It's just a clever hack, setting the parent of a window to "top". I haven't dug too much yet, but it looks like it's borderline "brilliant" (which to me means to do something that's horribly obvious to everyone *after* they're shown how it was done (like including spellcheck in a web browser -- so that I don't misspell "brilliant", losing all any credibility I might have had)).