Partager via


Disabling Multiple Windows (Windows Embedded CE 6.0)

1/6/2010

Frequently, a Web site opens one or more additional windows when a user selects a link to a new Web page. This behavior is generally not a problem, but in some cases a user will not want to contend with multiple windows. For example, when a user uses a full-screen browser, the user cannot distinguish whether the current view is a new window or a navigation event within the original window.

You can prevent your browser from opening multiple windows by adding a NoNewWindows subkey to the HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main registry key, as described in Registry Settings for IESample and IE XAML UI Sample. Setting the value of this subkey to 1 causes a new window.open event to occur instead of a navigation event. A value of 1 also causes a window.close event to execute a back command. However, this registry setting does not affect the IE XAML UI Sample browser, which does not allow new windows to open, regardless of the registry setting.

See Also

Other Resources

Customizing the Browser User Interface