Skip to content

Instantly share code, notes, and snippets.

@magadanskiuchen
Created November 14, 2012 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magadanskiuchen/4071744 to your computer and use it in GitHub Desktop.
Save magadanskiuchen/4071744 to your computer and use it in GitHub Desktop.
Custom Pin-It button showing all images inline on page
<a href='javascript:void((function()%7Bvar%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;http://assets.pinterest.com/js/pinmarklet.js?r=&apos;+Math.random()*99999999);document.body.appendChild(e)%7D)());'><img src='http://www.brandaiddesignco.com/blog/PinIt.png'/></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment