View-source

From Wikipedia, the free encyclopedia


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/

[edit] 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].

[edit] References

  1. ^ Microsoft Knowledge Base
  2. ^ GovernmentSecurity.org
  3. ^ Blogzilla

[edit] External links