View-source
Appearance
The view-source protocol is a URI scheme used in HTML to create links which display the source code of a web page (usually in a popup window).
For example, this URL shows the source of the Wikipedia home page: view-source:http://www.wikipedia.org/
Browser Support
Firefox and Internet Explorer both supported the view-source protocol, but support was dropped from Internet Explorer in Windows XP SP2 due to security problems.[1] Firefox also suffered a similar security issue (by combining the view-source: and javascript: protocols[2]), but still supported the protocol in Firefox 1.5[3] after being fixed. In 2009 a new discovered bug was fixed in Firefox 3.0.9.[4]
- Mozilla Firefox - supported
- a Mozilla Firefox extension called View Source Choice add more option to the behavior.[5]
- Netscape - supported
- Internet Explorer 4, 5, and 6 - support
- Internet Explorer 6, and Internet Explorer 7 - not supported after Windows XP SP2
- Safari 3.2.1 - supported
- Opera 7, 8, 9, 10 - not supported
- Google Chrome - supported
- Epiphany - supported
References
- ^ "view-source Protocol". MSDN. Retrieved 2009-02-25.
- ^ mikx (2005-05-21). "Mozilla Firefox view-source:javascript url Code Execution Exploit". milw0rm. Retrieved 2009-02-25.
- ^ jonathan (2005-11-30). "View Source Bug Fixed and a Tip". blogzilla. Retrieved 2009-02-25.
- ^ Fleischer, Gregory (April 21, 2009). "MFSA 2009-17: Same-origin violations when Adobe Flash loaded via view-source: scheme". Mozilla. Retrieved 2009-04-22.
- ^ mackers (2008-03-24). "View Source Choice". Mozilla Add-ons. Retrieved 2009-04-22.
{{cite web}}
: Unknown parameter|coauthors=
ignored (|author=
suggested) (help)