INFO: The "About:" Protocol in Internet Explorer

ID: Q183978


The information in this article applies to:
  • Microsoft Internet Explorer (Programming) versions 4.0, 4.01


SUMMARY

Internet Explorer 4.0 (IE4) supports a number of special protocol schemes. One of these is the "about:" protocol, which is used to display descriptive HTML pages for various predefined "about:" strings.

For example, "about:NavigationFailure" directs Internet Explorer to display a brief page with more information about why a navigation might have failed and helpful hints for avoiding this error in the future.

Microsoft now supports an about: protocol that works as follows. If you enter a URL "about:example", MSHTML (the HTML parsing and rendering engine for IE4) looks in the registry under "HKML\SOFTWARE\Microsoft\Internet Explorer\AboutURLs" for an string value named "example" and then loads the URL associated with it. If it cannot find the value "example," it generates and displays a page "<HTML>example</HTML>."


MORE INFORMATION

"about:" URLs have a simple form:

about:<string>
where <string> should be a simple combination of alphanumeric characters.

When resolving "about:<string>" URLs, Internet Explorer will look for a string value with a name that matches <string> under the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AboutURLs
If found, Internet Explorer will load the content from the URL specified in the value and display this in the browser window. It is acceptable to use different protocols in referring to the content location; in fact, all predefined "about:" protocols refer to "res:" URLs, which load HTML content from DLL resources.

For example, "NavigationFailure" is listed as a value name under the aforementioned registry entry that has a string data value of "res://shdocvw.dll/navcancl.htm."

If Internet Explorer does not find a match between <string> and a string value in this location, Internet Explorer will enclose <string> in <HTML> start and end tags and render it as HTML content.


REFERENCES

Internet Client SDK: Internet Tools & Technologies; Predefined Protocols

© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Jason Strayer, Microsoft Corporation

Additional query words:

Keywords : AXSDKMisc
Version : WINDOWS:4.0,4.01
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: November 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.