1 out of 6 rated this helpful - Rate this topic

view-source Protocol

Obsolete for Microsoft Internet Explorer 6 for Windows XP Service Pack 2 (SP2) and later. For earlier versions, opens a Web page in the client's default HTML editor.

Syntax

view-source:sURL

Tokens

sURL
Obsolete. Specifies a URL. You must specify an absolute path.

Remarks

Available as of Internet Explorer 4.0 or later.

Internet Explorer 6 for Windows XP SP2 and later. For security reasons, the view-source protocol is no longer supported. To view the source code for a URL on a Windows XP SP2-based computer, choose the Source command on the View menu.

Example

The following example shows a link that will open a file for viewing.


<A HREF="view-source:HTTP://www.microsoft.com/default.asp">
Click to view source.
</A>
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Enable protocol
Please enable the view-source protocol again.
Chrome uses it. It's a neat feature.