Created
July 18, 2012 18:25
-
-
Save mobilemind/3137891 to your computer and use it in GitHub Desktop.
View Source Bookmarklet from Mark Damon Hughes <http://kuoi.com/~kamikaze/read.php?id=276>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:{document.documentElement.innerHTML%20='<head><title>View%20Source<\/title><\/head>\n'+'<body><p>Source%20of%20<a%20href=\''+location.href+'\'>'+location.href+'<\/a><\/p>\n'+'<pre>\n<'+document.documentElement.nodeName+'>\n'+(document.documentElement.innerHTML).replace(/\&/g,%20'&').replace(/</g,%20'<').replace(/>/g,%20'>')+'\n</'+document.documentElement.nodeName+'>\n<\/pre><\/body>\n';} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment