Skip to content

Instantly share code, notes, and snippets.

@joecorcoran
Created August 5, 2010 14:20
Show Gist options
  • Save joecorcoran/509790 to your computer and use it in GitHub Desktop.
Save joecorcoran/509790 to your computer and use it in GitHub Desktop.
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){su=$("link[rev=canonical]").attr("href");su===undefined?alert("No%20short%20url!%20Try%20viewing%20the%20image%20directly,%20outside%20of%20any%20set."):alert(su);});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment