Skip to content

Instantly share code, notes, and snippets.

@tomhodgins
Created August 15, 2013 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomhodgins/6242994 to your computer and use it in GitHub Desktop.
Save tomhodgins/6242994 to your computer and use it in GitHub Desktop.
CodeView bookmarklet for visualizing linked files and inline scripts on web pages, as well as displaying some useful HTML tags to help you see at a glance how a site is structured without having to sift through all the attributes and extraneous code. To use, create a new bookmark and replace the URL (address) of the bookmark with the contents of…
javascript:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.3.2",function($,L){$('<link href="http://cdn.staticresource.com/codeview.css" rel="stylesheet" style="display: none !important">').appendTo("body")});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment