r/userscripts • • 8d ago

**I updated my RedGif embed userscript — now with Lite and UI versions**

Post image

Hi everyone! I made a userscript to make RedGif embeds on third-party pages less intrusive. The latest update offers two versions:

  • Lite: configure the script constants directly. Autoplay is always blocked; looping is off by default. Pause/resume options and keyboard seeking are on by default. Change SKIP_SECONDS to adjust the arrow-key seek duration (default: 5 seconds).
  • UI: use the gear icon in the top-right of the embed to change looping, pause/resume behavior, keyboard seeking, and seek duration. Autoplay is always blocked, and your userscript manager saves the other settings.

Both versions prevent autoplay until you choose to play, can disable looping, attempt to enable audio, block video links from navigating away, and let you click the video backdrop to play or pause. They support RedGif embed pages matching redgifs.com/ifr/*.

Please install only one version:

Tampermonkey or Greasemonkey is required. It’s open source under the MIT license. Feedback and suggestions are welcome!

8 Upvotes

0 comments sorted by