On my Windows 7 workstations, I have a program that opens an IE window. After the user enters some information in that window, they click a button in the window to send the info and close the window. However, when they do this, IE pops up a question dialog, letting the user know that "the webpage you are using is trying to close the window" and asking if they want to allow this.
I am trying to disable the yes/no prompt in IE, so that the window automatically closes when it tries to do so. The only way I've found that I can do that is by disabling Protected Mode in the IE security tab, but my fear is that this is disabling a lot more than I want it to.
How can I turn off only that one type of dialog, without turning off everything else that's tied to Protected Mode.
We are using Win7 32-bit with IE9. I also tried this with IE8 and the same thing happens. With IE9, though, the dialog box actually pops up BEHIND the window that is trying to close, thus effectively locking IE9 completely and requiring me to kill it in the Task Manager.