Created
October 16, 2011 17:57
-
-
Save masnick/1291199 to your computer and use it in GitHub Desktop.
jQuery inject one-liner
This file contains hidden or 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
var a=document.createElement("script");a.type="text/javascript";a.async=true;a.src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment