World Library  
Flag as Inappropriate
Email this Article

View-source URI scheme

Article Id: WHEBN0025584871
Reproduction Date:

Title: View-source URI scheme  
Author: World Heritage Encyclopedia
Language: English
Subject: File URI scheme, Content reference identifier, Rsync, File Transfer Protocol, MIME
Publisher: World Heritage Encyclopedia

View-source URI scheme

The view-source URI scheme is used by some browsers to construct URLs that refer to a source display for a given resource.[1]

For example, this URI would show the source of the page located at view-source:

On 25 May 2011 the 'view-source' URI scheme was officially registered with IANA [2] 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.[3] Firefox also suffered a similar security issue (by combining view-source and javascript URIs[4]), but still supported it in Firefox 1.5[5] after being fixed. In 2009 a new discovered bug was fixed in Firefox 3.0.9.[6]

Browser Supported?
Mozilla Firefox supported
Mozilla 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[7]
Web supported
HP webOS supported in-browser via a homebrew app called Internalz Pro[8]


  1. ^ IETF Draft
  2. ^ Yevstifeyev, M. view-source' URI scheme registration template"'". Retrieved 17 July 2011. 
  3. ^ "view-source Protocol".  
  4. ^ mikx (2005-05-21). "Mozilla Firefox view-source:javascript url Code Execution Exploit".  
  5. ^ jonathan (2005-11-30). "View Source Bug Fixed and a Tip".  
  6. ^ Fleischer, Gregory (April 21, 2009). "MFSA 2009-17: Same-origin violations when Adobe Flash loaded via view-source scheme".  
  7. ^ "Lifehacker - Google Chrome's Full List of Special about: Pages". 
  8. ^ Robitaille, Jason (2010-08-28). "Internalz 1.3 brings style with a dark theme and more".  
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.