Hubbry Logo
search
logo

View-source URI scheme

logo
Community Hub0 Subscribers
Write something...
Be the first to start a discussion here.
Be the first to start a discussion here.
See all
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.

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, the View Source technique helped people learn by example to create their own web pages.

On 25 May 2011, the 'view-source' URI scheme was officially registered with IANA per RFC 4395.

Firefox and Internet Explorer both supported the scheme, but support was dropped from Internet Explorer in Windows XP SP2 due to security problems. Firefox also suffered a similar security issue (by combining view-source and JavaScript URIs), but still supported it in Firefox 1.5 after being fixed. In 2009, a new discovered bug was fixed in Firefox 3.0.9.

See all
User Avatar
No comments yet.