Content deleted Content added
←Replaced content with '<html> <head> all about me <title> </title> </head> <body> nothing </body>...' |
m Reverted edits by 188.52.81.78 (talk) to last revision by Cirrus (HG) |
||
Line 1:
{{primary sources|date=October 2012}}
The '''view-source''' [[URI scheme]] is used by some browsers to construct [[Uniform Resource Locator|URLs]] that refer to a source display for a given resource.<ref>[https://tools.ietf.org/html/draft-yevstifeyev-view-source-uri IETF Draft]</ref>
For example, this [[Uniform Resource Identifier|URI]] would show the source of the page located at [http://www.example.com http://www.example.com]:
'''<nowiki>view-source:http://www.example.com</nowiki>'''
On 25 May 2011 the 'view-source' URI scheme was officially registered with IANA <ref>{{cite web|last=Yevstifeyev|first=M.|title='view-source' URI scheme registration template|url=http://www.iana.org/assignments/uri-schemes/prov/view-source|accessdate=17 July 2011}}</ref> 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.<ref>{{cite web
|url=http://msdn.microsoft.com/en-us/library/aa767742.aspx
|title=view-source Protocol
|publisher=[[Microsoft Developer Network|MSDN]]
|accessdate=2009-02-25
}}</ref> Firefox also suffered a similar security issue (by combining view-source and javascript URIs<ref>{{cite web
|url=http://www.milw0rm.com/id.php?id=1007
|title=Mozilla Firefox view-source:javascript url Code Execution Exploit
|publisher=[[milw0rm]]
|author=mikx
|date=2005-05-21
|accessdate=2009-02-25
}}</ref>), but still supported it in Firefox 1.5<ref>{{cite web
|url=http://deftone.com/blogzilla/archives/view_source_bug_fixed_and_a_tip.html
|title=View Source Bug Fixed and a Tip
|publisher=[[blogzilla]]
|author=jonathan
|date=2005-11-30
|accessdate=2009-02-25
}}</ref> after being fixed. In 2009 a new discovered bug was fixed in [[Mozilla Firefox 3|Firefox 3.0.9]].<ref>{{cite web|url=http://www.mozilla.org/security/announce/2009/mfsa2009-17.html|title=MFSA 2009-17: Same-origin violations when Adobe Flash loaded via view-source scheme|last=Fleischer|first=Gregory|date=April 21, 2009|publisher=[[Mozilla]]|accessdate=2009-04-22}}</ref>
* Mozilla Firefox - supported
* Mozilla [[SeaMonkey]] - supported
* [[Netscape]] - supported
* Internet Explorer [[Internet Explorer 4|4]], [[Internet Explorer 5|5]], and [[Internet Explorer 6|6]] - supported
* Internet Explorer [[Internet Explorer 6|6]], [[Internet Explorer 7|7]], and [[Internet Explorer 8|8]] - not supported after Windows XP SP2
* [[Safari (web browser)|Safari]] 3.2.1 - supported{{Citation needed|date=January 2010}}
* [[Safari (web browser)|Safari]] 5, 6 - not supported
* [[Opera (web browser)|Opera]] 7, 8, 9, 10, 11 - not supported
* [[Google Chrome]] - supported{{Citation needed|date=January 2010}}
* [[Web (web browser)|Web]] - supported{{Citation needed|date=January 2010}}
* [[webOS|HP webOS]] - supported in-browser via a homebrew app called Internalz Pro<ref>{{cite web|url=http://www.precentral.net/internalz-1-3-brings-style-dark-theme-and-more|title=Internalz 1.3 brings style with a dark theme and more|last=Robitaille|first=Jason|publisher=[[PreCentral]]|date=2010-08-28|accessdate=2011-02-11}}</ref>
==References==
<references/>
{{URI scheme}}
{{web browsers}}
[[Category:Web browsers]]
[[Category:URI schemes]]
[[pt:View-source]]
[[ru:View-source]]
|