Skip to content

Instantly share code, notes, and snippets.

@dschep
Created October 11, 2012 20:39
Show Gist options
  • Save dschep/3875321 to your computer and use it in GitHub Desktop.
Save dschep/3875321 to your computer and use it in GitHub Desktop.
Ugly bookmarklet to get shutterfly JPGs
dojo.query('.share-item-inner img').forEach(function(e){var l=document.createElement('a');var u=e.style['background-image'].slice(4,-1).replace('procsrserv','procgtaserv');u=u.slice(0,u.lastIndexOf('/'));l.setAttribute('href',u);l.innerHTML='fullres jpg';e.parentNode.parentNode.appendChild(l)});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment