Jump to content

View-source

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SmackBot (talk | contribs) at 16:55, 22 December 2007 (Standard headings &/or gen fixes., added orphan tag using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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