Skip to content

Instantly share code, notes, and snippets.

@astockwell
Created July 24, 2013 16:19
Show Gist options
  • Save astockwell/6072098 to your computer and use it in GitHub Desktop.
Save astockwell/6072098 to your computer and use it in GitHub Desktop.
<script>
(function(d,s){
var x = d.createElement(s),
o = d.getElementsByTagName(s)[0];
x.src="script.js"; // your script here
x.async=true; // mostly optional
o.parentNode.insertBefore(s,o); // inject
})(document,'script');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment