How to make your website work with
Microsoft® Windows® XP with Service Pack 2 (SP2)

 

This article covers the following topics.

o       Does your website use Microsoft ActiveX® controls?

o       Does your website allow users to download files?

o       Does your site use pop-up windows?

o       Does your website depend on the Microsoft Java Virtual Machine (MSJVM)?

o       Window Restrictions

o       Does your website use HTML dialogs?

o       General Tips

Does your website use Microsoft ActiveX® controls?

Microsoft Internet Explorer will block ActiveX controls in the follow cases:

Q: Are the signatures for your website’s controls up to date and are both the dynamic link library (DLL) and the cabinet file (CAB) signed?

A: Make sure that all controls distributed through your website are signed and have up-to-date signatures. These signatures must be on the .cab files as well as the .dll files. If these are not signed with valid signatures, Internet Explorer will block them from installing.

Q: Does your website automatically redirect a page based on whether an ActiveX control was instantiated?

A: The recommended solution is to place a span within object tags detailing that the page could not load. If your site does not do this, the user will be moved to the new page after the Information Bar blocks your control, and will not be given a chance to install the control.

Q: Does your website have images of the Authenticode dialog?

A: Update these images to reflect the new Authenticode user interface (UI) to prevent user confusion.

General ActiveX Don’ts

Don’t tell users to lower their security settings when ActiveX controls are not instantiated.

 

Does your website allow users to download files?

Q: Does your website start downloads that are not initiated by the user?

A: File downloads are blocked in the following cases:

To correct this, make all downloads the result of a user-initiated action.

Q: Does your website contain files with file types that do not match their Content-Type and/or file extension?

A: You should correct all of these mismatches. Both the Content-Type and the file extension must match the type of the file for a download prompt to appear. Be sure this is true for your Web pages as well. If the Content-Type is plain/text then they will not render as HTML.

Q: Does your website have images of the Download dialog on your site and/or of where to click to accept the control?

A: Update these images to reflect the new Download dialog UI to prevent user confusion.

 

Does your site use pop-up windows?

Q: Does your site use the window.createPopup() method?

A: This method has been restricted to allow only one pop-up window per page.

Q: What does Internet Explorer consider a pop-up window? 

Internet Explorer will attempt to block any window opened automatically from:

A pop-up window that opens as a direct result of a user action (e.g., clicking a page element) will not be blocked.

Q: How can I tell if my pop-up window has been blocked by Internet Explorer?

Function calls that return a window object will return null if the window is blocked. Always check the value of window.open to avoid script errors when pop-ups are blocked.

Q: Does your website launch pop-up windows through other objects (e.g., Macromedia® Flash™ movies)?

A: These pop-up windows will be blocked by the pop-up blocker. There is no workaround.

General Pop-up Recommendations

 

Does your website depend on the Microsoft Java Virtual Machine (MSJVM)?

See “Transitioning from the Microsoft Java Virtual Machine” on the Microsoft website at http://go.microsoft.com/fwlink/?LinkId=21850.

Window Restrictions

Q: Does your website position windows so that the title bar or address bar is above the visible top of the display or the status bar is below the visible bottom of the display?

A: Review your code to ensure you understand the restrictions now in place for script-initiated windows using the window.open() or window.createPopup() methods. The script will call the same methods for the creation of an Internet Explorer window with chrome (using the window.open() method) or an Internet Explorer chromeless pop-up window (using the window.createPopup() method). However, the design might need to be reviewed to ensure that pop-up windows are appropriately visible to the user and that the status bar contains accurate information.

 

The following are guidelines for working with script-initiated window calls in a process running the Windows Restrictions Security feature.

 

For windows opened using window.open:

For windows opened using window.createPopup:

 

A window opened with the window.open() method as a direct result of a user action (e.g., clicking a page element) and not automatically through a script can still be configured to run in full-screen mode or without a status bar.

 

Does your website use HTML dialogs?

Q: Do HTML dialogs on your website instantiate ActiveX controls, initiate downloads through script or navigation, or launch pop-up windows through script?

A: This is not recommended behavior; the Information Bar will not be shown when these are blocked and the user will have no way to allow them. The suggested workaround is to initiate these behaviors from an Internet Explorer window.

 

General Tips

Make sure your website’s Content-Type matches the file extension.

Exception: This change does not affect cases where a “content-disposition=attachment” header is sent. In those cases, the file name or extension suggested by the server is considered final and is not changed based on Multipurpose Internet Mail Extensions (MIME) sniffing.