Got tired of having to go into the inspection tool to save images that are part of a gallery on twitter. This script will add a button to the gallery lightbox that will open the image in a new tab.
v 1.1.0 - 2016/09/20 -Changed image URL's to have :orig appended to the end of images automatically. -Changed lightbox icon from being a button that pulled an image URL from the lightbox on click into an anchor tag that you can middle click to open the image in the background as per request. -Added "Open All" button to tweets. Will open all images in a gallery.
Tested mainly in Chrome. Casually glanced at in FF and Edge. *** GIFS WILL SAVE AS MP4'S *** Unless someone points me to a way of getting gif url's from twitter there's nothing I can do.
I couldn't find a good straightforward way of opening a video so I'm using this as my work around. Clicking the "Open All" button will open the tweet through twitters mobile view. From here just click play on the video and you'll then be able to right click on the playing video and save it.