Last active
December 8, 2015 16:12
-
-
Save lemmon/53a545447d49c9559888 to your computer and use it in GitHub Desktop.
Instagram Photo Downloader Bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('article[class*="Post"] img[class*="Photo"]').each(function(){ | |
window.open($(this).attr('src'),'_blank','',''); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Download the bookmarklet here:
http://jsfiddle.net/lemmon/zvu3pkxw/