So, who am I?

Entrepreneur. I am a founder and currently Notches, a distributed reviews system.

Lawyer. I am primarily focused on intellectual property law and legal issues that are relevant to startups.

Writer. I've been writing about technology, software development, law and business for six years.

Developer. I have a background in CS and spent 7 years developing enterprise web applications and frameworks before starting Notches.

Cancer Patient. I am undergoing treatment for Stage II Testicular Cancer. You can follow my recovery on BeatingMyCancer.

Read my full bio or view my resume.

"It is the mark of an educated mind to be able to entertain a thought without accepting it." -Aristotle

Most Popular Tags


Monthly Archives

HOWTO: Closing an Internet Explorer window without the security dialog Feb 01, 2005

Warning:

This article is more than 45 days old and thus may be somewhat out of date. Please keep this in mind when reading the post. If this is a tutorial, please check whether you are using the same versions mentioned in the article.

This question had come up the other day and thought others might find this useful.

When you call the window.close() method, Internet Explorer checks whether the opener value is the same as the calling window. If it's not, then the user is prompted with a security dialog asking whether they really want to close the window.

You can work around this by setting the property yourself and thus tricking IE into closing without a prompt.


function closeThisWindow()
{
    window.opener = window;
    window.close();
}

(Not tested in Firefox)

permalink Share Related Posts Widget for Blogs by LinkWithin

If you found this post useful, you may want to subscribe to my feed.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems