Jump to content

View-source

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by LaGrave (talk | contribs) at 17:22, 11 October 2007 (Initial version). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

The view-source protocol is used in HTML to create links which display the source code of a web page (usually in a popup window).

For example, this URL shows the source of the Wikipedia home page:

view-source:http://www.wikipedia.org/

Browser Support

Firefox and Internet Explorer both supported the view-source protocol, but support was dropped from Internet Explorer in Windows XP SP2 due to security problems[1]. Firefox also suffered a similar security issue[2], but still supported the protocol in Firefox 1.5[3].

References