Skip to content

Instantly share code, notes, and snippets.

@apnerve
Last active May 26, 2017 19:22
Show Gist options
  • Save apnerve/663aa8f145ddd46caa80 to your computer and use it in GitHub Desktop.
Save apnerve/663aa8f145ddd46caa80 to your computer and use it in GitHub Desktop.
Bookmarklet script to download images from Instagram
javascript:(function() {Array.prototype.map.call(document.querySelectorAll('._icyx7'),function(a){return a.attributes[3].nodeValue.replace('s640x640/sh0.08/','')}).map(function(i){var l = document.createElement('a');l.href=i;l.download=i;document.body.appendChild(l);l.click()});})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment