Disabling Multiple Windows

Often, when a user selects a link to a new Web page, a site opens one or more additional windows, for example, advertising sites. Usually this is not a problem; however, there are some situations in which the user should not have to contend with multiple windows. For example, with a full-screen browser, there is no way for the user to tell if 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 IESample Registry Settings. Setting the value of this subkey to "1" causes a new window.open event to an in-place navigation event and a window.close event instead executes a back command.

See Also

Creating an Internet Browser

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.