IE: Prevent confirming dialog box when using window.close() to close a main window

Been busying on investigating Dynamics CRM 4 Web Application and Outlook VSTO Add-In development for the past weeks and not update blog much. It’s time to do a post now. Little but useful trick when toying with IE windows. When there is only a parent IE window and you load some pages with javascript "window.close();"…

10