Last active
August 29, 2015 14:11
-
-
Save Kenty/b07b10921e7700093048 to your computer and use it in GitHub Desktop.
snsの非同期設定
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
( function(d,s,id){ | |
setTimeout(function() { | |
var js,fjs = d.getElementsByTagName(s)[0], p=/^http:/.test(d.location)?'http':'https'; | |
if(!d.getElementById(id)) { | |
js = d.createElement(s); js.id = id; | |
js.async = true; | |
js.src = p + '://platform.twitter.com/widgets.js'; | |
fjs.parentNode.insertBefore(js,fjs); | |
} | |
}, 3000); | |
} ) (document, 'script', 'twitter-wjs'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment