Share via


Internet Feature Controls (U..Y)

This article describes feature controls with names that begin with the letter U, V, W, or Y. For links to other feature controls, see Feature Controls.

  • Validate URL Navigation
  • Visual Studio Legacy Help Support
  • Web Browser Control Document Zoom
  • Web Browser Control Popup Management
  • Web Browser Control Window Control
  • Web Control Visuals
  • WebOC Addon Management
  • WebSocket
  • WebSocket Authentication Prompt
  • WebSocket Close Timeout
  • WebSocket Maximum Server Connections
  • WebSocket Follow Redirects
  • Window Restrictions
  • XDomainRequest Object Support
  • XMLHttpRequest Object Support
  • Related topics

Validate URL Navigation

When enabled, the FEATURE_VALIDATE_NAVIGATE_URL feature control prevents Windows Internet Explorer from navigating to a badly formed URL.

By default, this feature is enabled for Internet Explorer and disabled for applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_VALIDATE_NAVIGATE_URL
                     contoso.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Visual Studio Legacy Help Support

Windows Internet Explorer 7 and later. Internet Explorer 7 strengthened the security of relative filename paths with regard to protocol handlers. While this improved security for Internet Explorer users, it created problems for earlier versions of Microsoft Visual Studio Help files that relied on the earlier behavior. The FEATURE_SHIM_MSHELP_COMBINE feature enables the earlier behavior with regard to files using the ms-help protocol and should only be enabled in cases where earlier versions of Visual Studio are deployed.

By default, this feature is disabled for Internet Explorer and enabled for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_SHIM_MSHELP_COMBINE
                     contoso.exe = (DWORD) 00000000

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Web Browser Control Document Zoom

When enabled,the FEATURE_WEBOC_DOCUMENT_ZOOM feature allows HTML dialog boxes to inherit the zoom state of the parent window.

Note  This feature control cannot be disabled for Internet Explorer; this is by design.

 

By default, this feature is enabled for Internet Explorer and disabled for applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_WEBOC_DOCUMENT_ZOOM
                     contoso.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Web Browser Control Popup Management

The FEATURE_WEBOC_POPUPMANAGEMENT feature allows applications hosting the WebBrowser Control to receive the default Internet Explorer pop-up window management behavior.

By default, this feature is enabled for Internet Explorer and for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_WEBOC_POPUPMANAGEMENT
                     contoso.exe = (DWORD) 00000000

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Web Browser Control Window Control

Applications hosting the WebBrowser Control should ensure that window resizing and movement events are handled appropriately for the needs of the application. By default, these events are ignored if the WebBrowser Control is not hosted in a proper container. When enabled, the FEATURE_WEBOC_MOVESIZECHILD feature allows these events to affect the parent window of the application hosting the WebBrowser Control. Because this can lead to unpredictable results, it is not considered desirable behavior.

By default, this feature is disabled for Internet Explorer and for applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_WEBOC_MOVESIZECHILD
                     contoso.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Web Control Visuals

The FEATURE_ENABLE_WEB_CONTROL_VISUALS feature affects the appearance of controls in theme-aware webpages and apps. When enabled, this feature causes Windows 7 to render theme-aware controls in a manner similar to (though not necessarily the same as) the way related controls are rendered in later versions of Windows. When this feature is disabled, theme-aware webpages render controls so they look like the Windows 7 Aero theme. Controls in webpages that are not theme-aware render using a look similar to Windows 95.

Note  Certain theme-aware controls also behave differently when this feature is enabled, though such changes are generally cosmetic.

 

To mark a webpage as theme-aware:

  1. Place a meta element in the head section.
  2. Set the httpEquiv attribute to "msThemeCompatible".
  3. Set the content attribute to "yes".

To enable this feature, add the name of your executable file to the following registry setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_ENABLE_WEB_CONTROL_VISUALS
                     contoso.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

WebOC Addon Management

The FEATURE_ADDON_MANAGEMENT feature enables applications hosting the WebBrowser Control to respect add-on management selections made using the Add-on Manager feature of Internet Explorer. Add-ons disabled by the user or by administrative group policy will also be disabled in applications that enable this feature.

To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_ADDON_MANAGEMENT
                     contoso.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

WebSocket

Internet Explorer 10. When enabled, the FEATURE_WEBSOCKET feature allows script to create and use WebSocket objects. The WebSocketobject allows websites to request data across domains from your browser by using the WebSocket protocol.

By default, this feature is enabled for Internet Explorer and for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_WEBSOCKET
                     contoso.exe = (DWORD) 0x00000000

The feature is enabled when the value is set to (DWORD) 0x00000001 and disabled when the value is (DWORD) 0x00000000.

WebSocket Authentication Prompt

Internet Explorer 10. When enabled, the FEATURE_WEBSOCKET_AUTHPROMPT feature causes Internet Explorer to prompt when necessary during a WebSocket connection handshake for proxy or server authentication.

By default, this feature is disabled for Internet Explorer and for applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_WEBSOCKET_AUTHPROMPT
                     contoso.exe = (DWORD) 0x00000001

The feature is enabled when the value is set to (DWORD) 0x00000001 and disabled when the value is (DWORD) 0x00000000.

WebSocket Close Timeout

Internet Explorer 10. When enabled, the FEATURE_WEBSOCKET_CLOSETIMEOUT feature sets the time interval in milliseconds for completing the closing handshake to the server. Set this value to INFINITE (0xFFFFFFFF) to suppress this feature.

The default interval is 15000 (15 seconds) in Internet Explorer and applications hosting the WebBrowser Control. To modify this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_WEBSOCKET_CLOSETIMEOUT
                     contoso.exe = (DWORD) 0x00003A98 (15000)

WebSocket Maximum Server Connections

Internet Explorer 10. When enabled, the FEATURE_WEBSOCKET_MAXCONNECTIONSPERSERVER feature sets the maximum number of concurrent WebSocket connections allowed to a single host. The minimum number that can be specified is 2 and the maximum value allowed is 128.

The default value for this setting is 6 in Internet Explorer and applications hosting the WebBrowser Control. To modify this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_WEBSOCKET_MAXCONNECTIONSPERSERVER
                     contoso.exe = (DWORD) 0x00000006 (6)

WebSocket Follow Redirects

Internet Explorer 10. When enabled, the FEATURE_WEBSOCKET_FOLLOWHTTPREDIRECT feature permits Internet Explorer to follow HTTP REDIRECT responses during WebSocket connection handshake.

By default, this feature is disabled for Internet Explorer and for applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_WEBSOCKET_FOLLOWHTTPREDIRECT
                     contoso.exe = (DWORD) 0x00000001

The feature is enabled when the value is set to (DWORD) 0x00000001 and disabled when the value is (DWORD) 0x00000000.

Window Restrictions

When enabled, the FEATURE_WINDOW_RESTRICTIONS feature adds several restrictions to the size and behavior of popup windows:

  • Popup windows must appear in the visible display area.
  • Popup windows are forced to have status and address bars.
  • Popup windows must have minimum sizes.
  • Popup windows cannot cover important areas of the parent window.

When enabled, this feature can be configured differently for each security zone by using the URLACTION_FEATURE_WINDOW_RESTRICTIONS URL action flag.

By default, this feature is enabled for Internet Explorer and for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_WINDOW_RESTRICTIONS
                     contoso.exe = (DWORD) 00000000

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

XDomainRequest Object Support

When enabled, the FEATURE_XDOMAINREQUEST feature enables the XDomainRequest object, which represents a cross-domain Asynchronous JavaScript and XML (AJAX) request. For more information, see Introducing Cross-domain Request.

By default, this feature is enabled for Internet Explorer and for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_XDOMAINREQUEST
                     contoso.exe = (DWORD) 00000000

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

XMLHttpRequest Object Support

Internet Explorer 7 and later. The FEATURE_XMLHTTP feature enables or disables the native XMLHttpRequest object.

By default, this feature is enabled for Internet Explorer and for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_XMLHTTP
                     contoso.exe = (DWORD) 00000000

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Conceptual

Internet Feature Controls (A)

Internet Feature Controls (B..C)

Internet Feature Controls (D..H)

Internet Feature Controls (I..L)

Internet Feature Controls (M..R)

Internet Feature Controls (S..T)

Internet Feature Controls (Z)

Obsolete Feature Controls

Feature Control Registry Index