How to change security configutarion in IE8 for Intranet pages, such that Javascript can close a Win

Posted by Martín Fixman on Stack Overflow See other posts from Stack Overflow or by Martín Fixman
Published on 2010-06-16T17:28:13Z Indexed on 2010/06/16 17:32 UTC
Read the original article Hit count: 173

I am developing a system that uses a little Internet page as a front-end for the whole program. Since I need to use ActiveX (sigh), the page must work on Internet Explorer.

However, after some actions have been done the page needs to close itself. Using window.close() on Javascript it works, but before closing it prompts the user if it wants to close the Window. The ideal would be that it closes automatically.

Is there any way to make IE8 (changing an option on the browser, not a code-only solution) not to prompt before closing the Window?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about internet-explorer