Jump to content

View-source

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 66.254.242.239 (talk) at 00:43, 3 September 2008 (google chrome supports this url scheme). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The view-source protocol is a URI scheme 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