Skip to content

Instantly share code, notes, and snippets.

@tommyh
Last active November 13, 2015 23:26
Show Gist options
  • Save tommyh/5276a4ee00d39e1cf64a to your computer and use it in GitHub Desktop.
Save tommyh/5276a4ee00d39e1cf64a to your computer and use it in GitHub Desktop.
<!DOCTYPE>
<html>
<body>
<h1>Gardner Meerkat Bookmarklet</h1>
<a href="javascript:(function()%7B(function()%7Bvar%20css%20%3D%20'iframe%23mkEmbedPlayer-gardner%20%7B%20width%3A%20465px%20!important%3B%20height%3A%20465px%20!important%3B%20%7D'%2Chead%20%3D%20document.head%20%7C%7C%20document.getElementsByTagName('head')%5B0%5D%2Cstyle%20%3D%20document.createElement('style')%3Bstyle.type%20%3D%20'text%2Fcss'%3Bif%20(style.styleSheet)%7Bstyle.styleSheet.cssText%20%3D%20css%3B%7D%20else%20%7Bstyle.appendChild(document.createTextNode(css))%3B%7Dhead.appendChild(style)%3Bvar%20wrapper%20%3D%20document.createElement(%22div%22)%3Bwrapper.id%20%3D%20%22meerkat-wrapper%22%3Bwrapper.style.position%20%3D%20%22fixed%22%3Bwrapper.style.bottom%20%3D%20%220%22%3Bwrapper.style.right%20%3D%20%220%22%3Bvar%20script%20%3D%20document.createElement(%22script%22)%3Bscript.src%20%3D%20%22http%3A%2F%2Fmeerkatapp.co%2Fwidgets%2Fembed.js%22%3Bscript.className%20%3D%20%22mkEmbedPlayer%22%3Bscript.setAttribute(%22data-mute%22%2C%20%22true%22)%3Bscript.setAttribute(%22data-social%22%2C%20%22false%22)%3Bscript.setAttribute(%22data-cover%22%2C%20%22default%22)%3Bscript.setAttribute(%22data-type%22%2C%20%22bigsquare%22)%3Bscript.setAttribute(%22data-username%22%2C%20%22gardner%22)%3Bdocument.body.appendChild(wrapper)%3Bwrapper.appendChild(script)%3B%7D)()%7D)()">Gardner Meerkat</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment