Internet Explorer stops unexpectedly when you try to use a JavaScript command to start Internet Explorer at a specific size and location

When you try to use the following command to start Windows Internet Explorer at a specific size and location, the command does not work, and Internet Explorer stops unexpectedly:

"C:\Program Files\Internet Explorer\IEXPLORE.EXE" "BLOCKED SCRIPTresizeTo(800,600);moveTo(0,0);document.location.href='http://www.msn.com'"

This problem occurs when you use the following versions of Microsoft Windows:

• Microsoft Windows XP with Service Pack 2
• Microsoft Windows Server 2003 with Service Pack 1

This problem does not occur when you use the following versions of Windows:

• Microsoft Windows 2000 with Service Pack 4
• Microsoft Windows Server 2003 without a service pack installed

This problem occurs because you cannot use JavaScript to resize the Internet Explorer window. This restriction is for security reasons. Internet Explorer does not support using JavaScript from the command line.

http://support.microsoft.com/default.aspx/kb/938306

A comprehensive list of IE7 related Knowledge Base articles can be found here:
http://www.ie-vista.com/kbase3.html

Published Thu, Jul 19 2007 22:05 by sandi
Filed under: