r/userscripts • u/bigbear2sfc • 26d ago
**I made a userscript to control autoplay in RedGif embeds (play/pause, no looping)**
Hi everyone! I made a small userscript to make RedGif embeds on third-party pages less intrusive.
Version 0.14 automatically pauses videos and disables looping. You can click the video backdrop to play or pause, and the script also tries to enable audio and prevent video links from navigating away from the embed. It watches for dynamically added elements too.
It runs on RedGif embed pages matching redgifs.com/ifr/* and requires Tampermonkey or Greasemonkey.
It’s open source under the MIT license. Feedback and suggestions are welcome!
14
Upvotes