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.

< 腳本Force HTML 5 for Imgur and Gfycat on Reddit的回應

提問/評論

§
發表於:2017-07-16
編輯: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-s作者
§
發表於: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-s作者
§
發表於: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.

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址