View-source URI scheme

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

Lua error in package.lua at line 80: module 'strict' not found. The view-source URI scheme is used by some browsers to construct URLs that refer to a source display for a given resource.[1]

For example, this URI would show the source of the page located at http://www.example.com: view-source:http://www.example.com

On 25 May 2011 the 'view-source' URI scheme was officially registered with IANA [2] per RFC 4395.

Browser support

Mozilla Firefox and Internet Explorer both supported the scheme, but support was dropped from Internet Explorer in Windows XP SP2 due to security problems.[3] Firefox also suffered a similar security issue (by combining view-source and javascript URIs[4]), but still supported it in Firefox 1.5[5] after being fixed. In 2009 a new discovered bug was fixed in Firefox 3.0.9.[6]

Browser Supported?
Mozilla Firefox supported
Mozilla SeaMonkey supported
Netscape supported
Internet Explorer 4, 5 and 6 supported
Internet Explorer 6, 7, and 8 not supported after Windows XP SP2
Safari 3.2.1 supported[citation needed]
Safari 5, 6 not supported
Opera 7, 8, 9, 10, 11 not supported
Opera 15 and up supported
Google Chrome supported[7]
Web supported[citation needed]
HP webOS supported in-browser via a homebrew app called Internalz Pro[8]

References

  1. IETF Draft
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. Lua error in package.lua at line 80: module 'strict' not found.
  8. Lua error in package.lua at line 80: module 'strict' not found.