23maverick23
12/9/2012 - 4:18 AM

HTML5: Bookmarklet hyperlink

HTML5: Bookmarklet hyperlink

<a href="javascript:(function(){if(window.myBookmarklet!==undefined){myBookmarklet();}else{document.body.appendChild(document.createElement('script')).src='http://somewhere.com/script.js?';}})();">Bookmarklet</a>