Skip to content

Instantly share code, notes, and snippets.

@atnan
Created September 1, 2008 12:54
Show Gist options
  • Save atnan/8301 to your computer and use it in GitHub Desktop.
Save atnan/8301 to your computer and use it in GitHub Desktop.
(function(){
function l(u,i,t,b){
var d = document;
if (!d.getElementById(i)) {
var s = d.createElement('script');
s.src = u;
s.id = i;
d.body.appendChild(s);
}
s = setInterval(function() {
u = 0;
try {
u = t.call()
} catch(i) { }
if (u) {
clearInterval(s);
b.call();
}
}, 200)
}
l('http://leftlogic.com/js/microformats.js', 'MF_loader', function(){
return !!(typeof MicroformatsBookmarklet=='function')
}, function(){
MicroformatsBookmarklet();
})
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment