View Page Source Button

Submitted by:Andery Smith

Date added:17 April, 2013

Category:JavaScript

This code only works in Firefox and Chrome

Tags: view source

Code Snippet:

<input type="button" value="View Page Source" onClick= 'window.location = "view-source:" + window.location.href' >
 
 

Comments