MMRA icon indicating copy to clipboard operation
MMRA copied to clipboard

Added option for hiding gifs

Open AlexanderEllis opened this issue 7 years ago • 0 comments

Here's a rough cut for the first option in #13 .

I found that Medium loads embedded gifs and Giphy links with an element with a progressiveMedia class, in which lives a preview thumbnail. If this thumbnail is a gif or a link to giphy, this hides it. This also hides the parent element, which is a aspectRatioPlaceholder.

I'd be interested in taking a look at the second implementation as well, but I figured I would start with this!

Before: screen shot 2018-07-17 at 5 57 08 pm

After hideGifs(): screen shot 2018-07-17 at 5 57 23 pm

AlexanderEllis avatar Jul 17 '18 21:07 AlexanderEllis