Skip to content

Instantly share code, notes, and snippets.

@lemmon
Last active December 8, 2015 16:12
Show Gist options
  • Select an option

  • Save lemmon/53a545447d49c9559888 to your computer and use it in GitHub Desktop.

Select an option

Save lemmon/53a545447d49c9559888 to your computer and use it in GitHub Desktop.
Instagram Photo Downloader Bookmarklet
<a href="javascript:(function()%7B%24('article%5Bclass*%3D%22Post%22%5D%20img%5Bclass*%3D%22Photo%22%5D').each(function()%7Bwindow.open(%24(this).attr('src')%2C'_blank'%2C''%2C'')%3B%7D)%7D)()">instagram image</a>
$('article[class*="Post"] img[class*="Photo"]').each(function(){
window.open($(this).attr('src'),'_blank','','');
});
@lemmon

lemmon commented Aug 5, 2015

Copy link
Copy Markdown
Author

Download the bookmarklet here:
http://jsfiddle.net/lemmon/zvu3pkxw/

@lemmon

lemmon commented Dec 8, 2015

Copy link
Copy Markdown
Author

Doesn't work anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment