RedGif Embeded Video Fix

RedGif Embeded Video Fix!

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
bigbear2sfc
Installationen heute
3
Installationen gesamt
3
Bewertungen
0 0 0
Version
0.10
Erstellt am
29.03.2026
Letzte Aktualisierung
29.03.2026
Größe
6,84 KB
Lizenz
MIT
Wird angewandt auf

🎬 RedGif Embedded Video Fix

A Tampermonkey/Greasemonkey userscript that fixes various issues with RedGif videos embedded in third-party pages.

🌟 Features

  • Disables automatic loop - Videos no longer repeat endlessly
  • 🔊 Automatically enables audio - Clicks the sound button on startup
  • 🔗 Blocks navigation links - Prevents leaving the page when clicking on links
  • 🎮 Play/Stop Toggle - Click on the video backdrop to pause/play
  • 🔄 Dynamic detection - Handles dynamically loaded elements
  • 🐛 Debug mode - Toggle logs from console with toggleDebug()

📦 Installation

  1. Install Tampermonkey (Chrome/Edge) or Greasemonkey (Firefox)
  2. Click this link to install the script
  3. Or create a new script and paste the code manually

🎯 How it works

The script automatically intervenes when you visit a page with URL https://www.redgifs.com/ifr/* (typically RedGif embeds) and:

  1. Waits for the page to fully load
  2. Finds and disables the loop attribute on all video tags
  3. Locates and clicks the sound button (.SoundButton)
  4. Blocks all links pointing to /watch/ by replacing them with #
  5. Adds a listener to the backdrop for click-to-play/pause control
  6. Monitors for any dynamically loaded elements

🛠️ Usage

The script works completely automatically. No user interaction is required.

Debug mode

To see debug logs in the browser console:

// Enable/disable logs
toggleDebug()

// Current status will be shown:
// "Debug mode: ON" or "Debug mode: OFF"