Skip to content

Instantly share code, notes, and snippets.

@jakejscott
Created February 4, 2011 12:16
Show Gist options
  • Save jakejscott/811043 to your computer and use it in GitHub Desktop.
Save jakejscott/811043 to your computer and use it in GitHub Desktop.
Readable Gihub Code bookmarklet for firefox
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){$('pre').css({%20'font'%20:%20'12px%20Monaco,"Courier%20New","DejaVu%20Sans%20Mono","Bitstream%20Vera%20Sans%20Mono",monospace'%20})});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment