View-source URI scheme: Difference between revisions

Content deleted Content added
SmackBot (talk | contribs)
m Browser Support: Date maintenance tags: build 391:,
not a protocol; rm nearly content-free link (that uses incorrect terminology)
Line 1:
The '''view-source''' protocol is a [[URI scheme]] is used inby [[HTML]]some browsers to createconstruct links[[Uniform whichResource displayLocator|URLs]] thethat sourcerefer code ofto a websource page (usuallydisplay infor a popupgiven window)resource.
 
For example, this [[Uniform Resource Locator|URL]] shows the source of the Wikipedia home page:
'''<nowiki>view-source:http://www.wikipediaexmaple.orgcom/</nowiki>'''
 
== Browser Support ==
[[Mozilla Firefox]] and [[Internet Explorer]] both supported the view-source protocolscheme, 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 the view-source: and javascript: protocolsURIs<ref>{{cite web
|url=http://www.milw0rm.com/id.php?id=1007
|title=Mozilla Firefox view-source:javascript url Code Execution Exploit
Line 24:
|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
Line 38:
== References ==
<references/>
 
==External links==
* [http://jedisthlm.com/2005/01/30/view-source-protocol/ View Source Protocol]
 
{{URI scheme}}
{{web browsers}}
 
[[Category:Internet protocols]]
 
[[pt:View-source]]