Tutorial Async Sharing Buttons (G+, Facebook, Twitter)

Some of these services already (smartly) provide their scripts in an async fashion, this just combines them into more efficient, organized, ...

Some of these services already (smartly) provide their scripts in an async fashion, this just combines them into more efficient, organized, and understandable code.
(function(doc, script) {
var js,
fjs = doc.getElementsByTagName(script)[0],
frag = doc.createDocumentFragment(),
add = function(url, id) {
if (doc.getElementById(id)) {return;}
js =

Hot in Week

Popular

Archive

item