Last active
August 29, 2015 14:23
-
-
Save javidjamae/3cfb528a618fa4a1c856 to your computer and use it in GitHub Desktop.
First script for Stackoverflow quesiton: http://stackoverflow.com/questions/30852198/how-can-i-make-an-inserted-javascript-load-before-domcontentloaded
This file contains 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
(function(){ | |
var scriptTag = document.createElement('script'); | |
scriptTag.type = 'text/javascript'; | |
scriptTag.src = 'https://rawgit.com/javidjamae/a6945382f6d30c46ab5a/raw/7229b5ce14566b9658675dd1c8bf8a45bb0fb65a/second.js'; | |
scriptTag.async = true; | |
document.getElementsByTagName('head')[0].appendChild(scriptTag); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment