Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

Symptoms

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" "javascript:resizeTo(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

↑ Back to the top


Cause

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.

↑ Back to the top


Keywords: KB938306, kbprb, kbtshoot, kbexpertisebeginner, kbexpertiseinter, kbbug

↑ Back to the top

Article Info
Article ID : 938306
Revision : 2
Created on : 3/24/2011
Published on : 3/24/2011
Exists online : False
Views : 470