Skip to content

Instantly share code, notes, and snippets.

@sente
Forked from RichardBronosky/jquery oneliner
Created September 15, 2011 13:09
Show Gist options
  • Save sente/1219183 to your computer and use it in GitHub Desktop.
Save sente/1219183 to your computer and use it in GitHub Desktop.
This is the shortest line of code for getting jquery into a js console (Chrome, Safari, Firefox, etc.)
($=document.createElement('script')).src='http://j.mp/jqueryjs';(document.getElementsByTagName('head')[0]).appendChild($)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment