Skip to content

Instantly share code, notes, and snippets.

@zaltoprofen
Created February 28, 2015 10:19
Show Gist options
  • Save zaltoprofen/abdc980782307c4f9b6a to your computer and use it in GitHub Desktop.
Save zaltoprofen/abdc980782307c4f9b6a to your computer and use it in GitHub Desktop.
download original size image from twimg
javascript:(function(){var e=window.location.href,t=new RegExp("(:(orig|large))?$");e=e.replace(t,":orig");var n=e.match(".+/(.+?):orig$")[1],o=document.createElement("a");o.href=e,o.setAttribute("download",n),o.dispatchEvent(new CustomEvent("click"))})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment