Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Download photos from Instagram posts
$('body').append('<a download class="instadownload">&#11015; Download</a><style>.instadownload{ position:absolute; border-radius: 3px; font-size: 20px; z-index: 10000; top: 90px; cursor:pointer; right: 20px; padding: 10px; background-color:#FBFDFF; border: 1px solid #125688;}</style>');$
('.instadownload').attr('href', $('meta[property="og:image"]').attr('content'));
Bookmared with: http://mrcoles.com/bookmarklet/
// Paste this
javascript:(function()%7B%24('body').append('%3Ca%20download%20class%3D%22instadownload%22%3E%26%2311015%3B%20Download%3C%2Fa%3E%3Cstyle%3E.instadownload%7B%20position%3Aabsolute%3B%20border-radius%3A%203px%3B%20font-size%3A%2020px%3B%20z-index%3A%2010000%3B%20top%3A%2090px%3B%20cursor%3Apointer%3B%20right%3A%2020px%3B%20padding%3A%2010px%3B%20background-color%3A%23FBFDFF%3B%20border%3A%201px%20solid%20%23125688%3B%7D%3C%2Fstyle%3E')%3B%24('.instadownload').attr('href'%2C%20%24('meta%5Bproperty%3D%22og%3Aimage%22%5D').attr('content'))%7D)()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment