view-source URI scheme
The view-source URI scheme is used by some web browsers to construct URIs that result in the browser displaying the source code of a web page or other web resource.[1]
For example, the URI view-source:https://example.com
should show the source of the page located at https://example.com
.
In the early internet, View Source helped people to create their own web pages, learning by example.[2]
On 25 May 2011, the 'view-source' URI scheme was officially registered with IANA[3] per RFC 4395.
Browser support
Firefox and Internet Explorer both supported the scheme, but support was dropped from Internet Explorer in Windows XP SP2 due to security problems.[4] Firefox also suffered a similar security issue (by combining view-source and javascript URIs[5]), but still supported it in Firefox 1.5[6] after being fixed. In 2009 a new discovered bug was fixed in Firefox 3.0.9.[7]
Browser | Supported? |
---|---|
Mozilla Firefox | supported[8] |
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 |
Safari 5, 6 | not supported |
Opera 7, 8, 9, 10, 11 | not supported |
Opera 15 and up | supported |
Google Chrome | supported[9] |
Web | supported |
HP webOS | via third-party app (Internalz Pro)[10] |
References
- ↑ IETF Draft
- ↑ Sahlin, Doug; Snell, Claudia (2007-02-03) (in en). Building Web Sites All-in-One Desk Reference For Dummies. John Wiley & Sons. ISBN 978-0-470-12720-9. https://books.google.com/books?id=cfDRYLDyKcoC&dq=%22view+source%22&pg=PA161.
- ↑ Yevstifeyev, M.. "'view-source' URI scheme registration template". https://www.iana.org/assignments/uri-schemes/prov/view-source.
- ↑ "view-source Protocol". MSDN. http://msdn.microsoft.com/en-us/library/aa767742.aspx.
- ↑ mikx (2005-05-21). "Mozilla Firefox view-source:javascript url Code Execution Exploit". milw0rm. http://www.milw0rm.com/id.php?id=1007.
- ↑ jonathan (2005-11-30). "View Source Bug Fixed and a Tip". blogzilla. http://deftone.com/blogzilla/archives/view_source_bug_fixed_and_a_tip.html.
- ↑ Fleischer, Gregory (April 21, 2009). "MFSA 2009-17: Same-origin violations when Adobe Flash loaded via view-source scheme". Mozilla. https://www.mozilla.org/security/announce/2009/mfsa2009-17.html.
- ↑ "View Source - Firefox Developer Tools". MDN. https://developer.mozilla.org/en-US/docs/Tools/View_source.
- ↑ "Google Chrome's Full List of Special about: Pages". Lifehacker. 4 September 2008. http://lifehacker.com/5045164/google-chromes-full-list-of-special-about-pages.
- ↑ Robitaille, Jason (2010-08-28). "Internalz 1.3 brings style with a dark theme and more". PreCentral. http://www.precentral.net/internalz-1-3-brings-style-dark-theme-and-more.
Original source: https://en.wikipedia.org/wiki/View-source URI scheme.
Read more |