Last active
April 24, 2019 03:54
-
-
Save sohyl87/6119798 to your computer and use it in GitHub Desktop.
Append JS file to the Head or body from anywhere (footer) in the page
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 dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | |
dsq.src = 'http://disqus.com/embed.js'; | |
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment