Created
March 4, 2010 10:05
-
-
Save remy/321605 to your computer and use it in GitHub Desktop.
Save this a bookmarklet on your iPhone or desktop browser to view the source to the current page
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
// bookmarklet to introspect the source of current page | |
javascript:(function(d,h){h=d.documentElement.innerHTML;d.open();d.write('<pre>'+('<!DOCTYPE html><html>'+h+'</html>').replace(/[<>]/g,function(m){return{'<':'<','>':'>'}[m]})+'</pre>')})(document); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment