Force HTML 5 for Imgur and Gfycat on Reddit

Converts giant.gfycat.com hyperlinks to their HTML 5 video counterpart and Imgur links to their HTML 5 video counterpart.

< Commentaires sur Force HTML 5 for Imgur and Gfycat on Reddit

Question / commentaire

§
Posté le: 2017-07-16
Édité le: 2017-07-16

suggest catching the gifs/details page as well

I've seen a few posts recently use "gfycat.com/gifs/detail/" since I have autoplay disabled this plays the gif version, could you add this to the replacement options?

it might also be possible to simplify the replace lines using something like (giant|fat) and (gif|webm|mp4) altrhough you will need to update the replace to $2

k-r-i-sAuteur
§
Posté le: 2017-11-20

Sorry, I haven't looked at this for a while.

I'll give it a look and try to update it.

k-r-i-sAuteur
§
Posté le: 2017-11-20
it might also be possible to simplify the replace lines using something like (giant|fat) and (gif|webm|mp4) altrhough you will need to update the replace to $2

Yeah, I'll have to learn a few things about that to update it. Should be updated sometime today if it's not that much trouble.

Poster une réponse

Connectez-vous pour poster une réponse.

长期地址
遇到问题?请前往 GitHub 提 Issues。