Content deleted Content added
m The Wayback Machine bot seems to have gone wild. Reverting. |
m Reverted edit by 2409:40E4:2B:FDD1:FCB1:46FF:FE0D:C82A (talk) to last version by 217.180.35.9 |
||
(124 intermediate revisions by 89 users not shown) | |||
Line 1:
{{Short description|URI scheme on browsers}}
{{selfref|{{redirect|View source|trying to edit a protected page on Wikipedia|WP:View source}}}}
{{primary sources|date=October 2012}}
{{lowercase title}}
The '''view-source''' [[Uniform Resource Identifier#Syntax|URI scheme]] is used by some [[Web browser|web browsers]] to construct [[Uniform Resource Identifier|URI]]s that result in the browser displaying the [[source code]] of a [[web page]] or other [[web resource]].<ref>{{Cite report |url=https://datatracker.ietf.org/doc/draft-yevstifeyev-view-source-uri/ |title=The 'view-source' URI Scheme |last=Yevstifeyev |first=Mykyta |date=2011-04-23 |publisher=Internet Engineering Task Force |issue=draft-yevstifeyev-view-source-uri-01}}</ref>
For example,
In the early Internet, the View Source technique helped people learn by example to create their own web pages.<ref>{{Cite book |last1=Sahlin |first1=Doug |url=https://books.google.com/books?id=cfDRYLDyKcoC&dq=%22view+source%22&pg=PA161 |title=Building Web Sites All-in-One Desk Reference For Dummies |last2=Snell |first2=Claudia |date=2007-02-03 |publisher=John Wiley & Sons |isbn=978-0-470-12720-9 |language=en}}</ref>
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.▼
▲On 25 May 2011, the 'view-source' URI scheme was officially registered with IANA
==Browser support==
[[
|url=http://msdn.microsoft.com/en-us/library/aa767742.aspx
|title=view-source Protocol
|publisher=
|
}}</ref> Firefox also suffered a similar security issue (by combining view-source and
|url=http://www.milw0rm.com/id.php?id=1007
|archive-url=https://web.archive.org/web/20070814075238/http://www.milw0rm.com/id.php?id=1007
|archive-date=2007-08-14
|title=Mozilla Firefox view-source:javascript url Code Execution Exploit
|
|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
|
|author=jonathan
|date=2005-11-30
|
}}</ref> after being fixed. In 2009, a new discovered bug was fixed in [[Mozilla Firefox 3|Firefox 3.0.9]].<ref>{{cite web|url=
{| class="wikitable sortable"
! Browser !! Supported?
|-
|[[Mozilla Firefox]]
|-
|
|-
| [[Netscape]] || {{yes|supported}}
Line 44 ⟶ 48:
| Internet Explorer [[Internet Explorer 6|6]], [[Internet Explorer 7|7]], and [[Internet Explorer 8|8]] || {{no|not supported}} after Windows XP SP2
|-
| [[Safari (web browser)|Safari]] 3.2.1 || {{yes|supported
|-
| [[Safari (web browser)|Safari]] 5, 6 || {{no|not supported}}
Line 54 ⟶ 58:
| [[Opera (web browser)|Opera]] 15 and up || {{yes|supported}}
|-
| [[Google Chrome]] || {{yes|supported}}<ref>{{cite web|title=
|-
| [[Web (web browser)|Web]] || {{yes|supported
|-
| [[webOS|HP webOS]] || {{partial|
|}
Line 66 ⟶ 70:
{{URI scheme}}
{{web browsers}}
{{Subject bar|portal1=Computer programming|portal2=Internet|d=y}}
[[Category:Web browsers]]
[[Category:URI schemes]]
[[Category:
|