Updated: April 2011
This article describes feature controls with names that begin with the letter S or T. For links to other feature controls, seeFeature
Controls.
Save Dialog Button Hiding
The FEATURE_DOWNLOAD_PROMPT_META_CONTROL feature allows web developers to use a thename attributeof aMETA
elementto hide buttons on theSavedialog box that appears when you download files using Windows Internet Explorer. When this feature is disabled, theMETA elementscannot be used to hide buttons in theSavedialog
box.
By default, this feature is enabled for Internet Explorer and for applications hosting theWebBrowser 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_DOWNLOAD_PROMPT_META_CONTROL
contoso.exe=(DWORD) 00000000
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
Script URL Mitigation
Internet Explorer 7 and later. Prior to Internet Explorer 7,hrefattributes ofaobjects
supported thejavascriptprototcol; this allowed webpages to execute script when the user clicked a link. For security reasons,
this support was disabled in Internet Explorer 7. For more information, seeEvent 1034 - Cross-Domain Barrier and Script URL Mitigation.
When enabled, the FEATURE_SCRIPTURL_MITIGATION feature allows thehrefattribute ofaobjects to support thejavascriptprototcol.
By default, this feature is enabled for Internet Explorer and disabled for applications hosting theWebBrowser Control. To enable this feature 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_SCRIPTURL_MITIGATION
contoso.exe=(DWORD) 00000000
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
NoteWhen thejavascriptprototcol is enabled for href attributes, the value of the href attribute is limited to 2047 characters.
Security Certificate Revocation Failure
Internet Explorer 7 and later. In order to confirm the identity of organizations that host secure webpages, certifying authorities issue security certificates. These certificates are validated when you request a secure webpage.
By default, Internet Explorer performs a number of steps in order to validate the security certificate for a secure website. If a certificate is invalid, is out-of-date, or improperly identifies the website in question, Internet Explorer displays a notification
to the user.
As an additional verification step, many certifying authorities also provide a service that identifies certificates that have been recently revoked. Earlier versions of Internet Explorer displayed notifications when this service could not be reached.
Because the inability to reach these services does not necessarily indicate that a certificate has been revoked, many users complained that such notifications were "false positives." After considerable negative feedback, these notifications were disabled
by default in Internet Explorer 7 and later.
When enabled, the FEATURE_WARN_ON_SEC_CERT_REV_FAILED feature displays notifications when Internet Explorer cannot reach the certificate revocation service published by a certifying authority. By default, this feature is disabled for Internet Explorer. This
feature is not supported for applications hosting theWebBrowser Control.
To enable this feature using the registry, add the name of the Internet Explorer executable file to the following setting.
HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
SOFTWARE
Microsoft
Internet Explorer
Main
FeatureControl
FEATURE_WARN_ON_SEC_CERT_REV_FAILED
iexplore.exe=(DWORD) 00000001
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
NoteNote: Failure to reach the revocation service for a certifying authority does not necessarily mean that a security certificate is invalid or should not be trusted. It simply means that one of several validation steps could not be completed.
SHDOCLC.DLL Resource Loading
Earlier versions of Internet Explorer loaded resources stored in the shdoclc.dll file. For security reasons, Internet Explorer no longer loads resources from this file by default. When enabled, the FEATURE_LOAD_SHDOCLC_RESOURCES feature allows resources
to be loaded from the shdoclc.dll file.
By default, this feature is disabled for Internet Explorer and for applications hosting theWebBrowser 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_LOAD_SHDOCLC_RESOURCES
contoso.exe=(DWORD) 00000001
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
NoteBecause this feature reverses a change designed to improve the security of Internet Explorer, enabling this feature is strongly discouraged.
SSL Security Alert Display
Internet Explorer 7 and later. When the FEATURE_SSLUX feature is enabled, problems with a website's Secure Sockets Layer (SSL) are displayed using descriptive webpages, rather than the security alert dialog boxes seen in earlier versions of Internet Explorer.
For more information, seeBINDINFO_OPTIONS_IGNORE_SSLERRORS_ONCE.
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_SSLUX
contoso.exe=(DWORD) 00000001
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
Status Bar Update Frequency
When enabled, the FEATURE_STATUS_BAR_THROTTLING feature limits the frequency of status bar updates to one update every 200 milliseconds.
By default, this feature is enabled for Internet Explorer and disabled for applications hosting theWebBrowser 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_STATUS_BAR_THROTTLING
contoso.exe=(DWORD) 00000001
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
Structured Storage Detection
Internet Explorer9. Prior to version 7, Internet Explorer opened Microsoft ActiveX documents by launching the registered application for the document within the browser window. For security reasons, this behavior is disabled by default in Internet Explorer
7 and later versions.
When enabled, the FEATURE_RESTRICT_CDL_CLSIDSNIFF feature enables the URLACTION_ALLOW_STRUCTURED_STORAGE_SNIFFING URL Action, which permits ActiveX documents to be opened within the context of a webpage on a zone-by-zone basis.
NoteFor security reasons, this feature should not be enabled. Instead, applications that depend on this feature should be redesigned to use more secure approaches.
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_RESTRICT_CDL_CLSIDSNIFF
contoso.exe=(DWORD) 00000001
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
Tabbed Browsing Shortcuts and Notifications
Internet Explorer 7 or later. When enabled, the FEATURE_TABBED_BROWSING feature enables tabbed browsing navigation shortcuts and notifications. For more information, seeTabbed
Browsing for Developers.
By default, this feature is enabled for Internet Explorer and disabled for applications hosting theWebBrowser 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_TABBED_BROWSING
contoso.exe=(DWORD) 00000001
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
Telnet Protocol Support
Internet Explorer 7 or later. When enabled, the FEATURE_DISABLE_TELNET_PROTOCOL feature disables the built-in telnet protocol handler. When this feature is disabled, the "telnet:" protocol is enabled.
By default, this feature is enabled for Internet Explorer and disabled for applications hosting theWebBrowser 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_DISABLE_TELNET_PROTOCOL
contoso.exe=(DWORD) 00000001
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
UNC File Support for MotW
The FEATURE_UNC_SAVEDFILECHECK feature enables the Mark of the Web (MOTW) for local files loaded from network locations that have been shared by using the Universal Naming Convention (UNC). If the file contains a MOTW, the file is loaded into the security
context specified by the MOTW. For more information, seeMark of the Web
By default, this feature is enabled for Internet Explorer and disabled for applications hosting theWebBrowser 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_UNC_SAVEDFILECHECK
contoso.exe=(DWORD) 00000001
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
Usernames and Passwords in URL's
Microsoft Internet Explorer 6 for WindowsXP Service Pack 2 (SP2) and later. Internet Explorer no longer allows usernames and passwords to be specified in URLs that use the HTTP or HTTP protocols. URLs using other protocols, such as FTP, still allow usernames
and passwords. When disabled, the FEATURE_HTTP_USERNAME_PASSWORD_DISABLE feature allows usernames and passwords to be included in HTTP or HTTPS URLs.
By default, this feature is enabled for Internet Explorer and disabled for applications hosting theWebBrowser 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_HTTP_USERNAME_PASSWORD_DISABLE
contoso.exe=(DWORD) 00000001
The feature is enabled when the value is set to (DWORD)00000001
and disabled when the value is (DWORD)00000000
.
相关推荐
基于IWebBrowser2和ActiveX控件制作的多标签浏览器,纯API实现了动态添加标签按钮,动态删除标签按钮,等功能。
通过窗口句柄获得IWebBrowser2和IHTMLDocument2接口,里面是源代码,分享给大家
基于win32(非MFC)使用IWebBrowser,实现自定义浏览器的功能,代码很清晰,可以作为初学者的入门级代码,方便后续的扩展使用
微软的drillerMFC源码。 可以去除IWebBrowser2边框。 另附网络上其他人总结的使用方法http://blog.csdn.net/tangyin025/article/details/8675513 请参考文章与源码自行使用。
wtl平台(使用MFC类似),使用IWebBrowser2创建IE控件,然后浏览网页,当然也可以显示内存中的html字符流。 支持更改右键,支持禁用滚动条,支持word-break,功能强大,可扩展性强。方便自己修改后放入自己的代码中。...
IWebBrowser2的两个工程 vc6.0 IWebBrowser2的两个工程 vc6.0 IWebBrowser2的两个工程 vc6.0 IWebBrowser2的两个工程 vc6.0
IWebBrowser2跨进程传递opener的方法,主要代码已经在资源中,按步骤就可以实现。有不解的地方也可以给我留言。
使用IE控件的一些有趣方法 你想在程序中,播放背景音乐吗? 你想在程序中,播放广告FLASH吗? 你想在程序中,显示WORD文件吗? 你想在程序中,显示PDF文件吗? 你想在程序中,显示图象文件吗? 你想在程序中,实现...
这是一个类似彗星开发小助手的东西,感觉比彗星开发小助手用起来要方便,功能要更强大。是autohotkey官网上下载来的(当然是英文版的,很容易看)。现在献给大家,希望大家会喜欢。
通过IWebBrowser2登录不带验证码的网站,很简单
主要定义了一个类:CMyInternetExplorer 这个类的作用是通过COM操作IE浏览器 调用方法很简单: 将这4个文件加入工程,比如是一个MFC对话框工程, ...3、就可以调用Navigate把IE浏览器的地址改变了,祝你好运
你想在程序中,播放背景音乐吗?你想在程序中,播放广告FLASH吗?你想在程序中,显示WORD文件吗?你想在程序中,显示PDF...关键字:Activex,ocx,ie,IWebBrowser2,CHtmlView,OnBeforeNavigate2,Navigate,pdf,music.word
1、如何显示内存中的 HTML 网页;2、如何屏蔽掉鼠标右键的上下文菜单;3、如何扩展 HTML 中的脚本(external)对象;... 关键字:ie,control,iwebbrowser2,ihtmldocument2,ipersiststreaminit,istream,控件
前言 起因:群里有人问怎么静默外部的Webbrowser,于是我便写了这个Demo。...获得IWebbrowser2对象后可以用事件接收器(例如“黑月COM类”)对该IWebbrowser2进行挂接事件,从而该Webbrowser的操作便一览无余。
IWebBrowser接口的使用源码,可以扫描浏览器实例,绝对经典!可以扫描到网页中的所有元素。源码中仅扫描了文本
主要是介绍如何对webbrowser和IE编程。
浏览器开发案例,c++开发,vs2003版本
IE 插件开 发说 明文明 包括常见技术
把IE自带的开发者工具整合到基于IE COM组件IWebBrowser2开发的自定义浏览器中 创建开发人员工具窗口,并把它关联到当前的页面
3.IE把IWebBrowser2(浏览器插件)传到 BHO 的 SetSite 方法,用户在此方法中可挂载自己的事件处理方法。 4.窗口关闭时,IE把 null 传到 BHO 的 SetSite 方法,此方法用来去掉挂载的事件处理方法。