☰

RedGIFs Video Download Button

Adds a download button (for one-click HD downloads) and an "Open in New Tab" button to each video on the RedGIFs site.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey 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 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.

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

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

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!)

Skaber
p65536
Daglige installationer
9
Installationer i alt
3.450
Bedømmelser
17 0 0
Version
2.6.3
Oprettet
11.08.2025
Opdateret
05.11.2026
Size
119 kB
Licens
MIT
Gælder for

Overview

This script enhances your RedGIFs experience by adding two convenient buttons to each video and photo:

  1. A download button for one-click downloads of the HD video or maximum-resolution photo.
  2. An "Open in New Tab" button to quickly view the media on its own page (or in the distraction-free, player-only Clean Viewer).

It also includes a powerful Annoyance & Ad Remover to clean up the UI.

Please note: This script does not work on media embedded on external sites, only on RedGIFs itself.
There are no plans to add support for embedded content.


Features

  • One-Click HD/Max-Res Download: Automatically fetches the HD video source or the largest available image variant and downloads it directly.
  • Full Photo & Video Support: Seamlessly detects whether the content is a video or a static image, adjusting the download and viewer modes automatically.
  • Open in New Tab: Works as a standard link, supporting Middle-Click and Ctrl+Click to open media in a background tab without losing focus.
  • Distraction-Free "Clean Viewer": Optionally open media in a minimalist, player-only or image-only interface with a dark background. (Configurable in settings)
  • Seamless UI Integration: The buttons are added to the corner of each media element, looking like a native feature.
  • Dynamic Content Support: Works reliably on pages with infinite scrolling by automatically detecting newly loaded content.
  • Visual Feedback: The download button's icon changes to show its status (in progress, success, error), and a toast notification provides clear feedback.

New Features

  • (2026/07/11) The Media Update (v2.6.0):
    • Native Photo Support: The script now fully supports high-resolution photo/image posts for both one-click downloading and the Clean Viewer interface.
    • Robust Metadata Engine: Replaced the fragile network API interceptor with a solid, asynchronous metadata extraction model utilizing standard OGP tags and JSON-LD contexts. The script is now highly resilient against front-end site updates.
    • Enhanced Security & Compatibility: Completely removed the high-privilege unsafeWindow and global JSON.parse hooking mechanisms. The script now runs in a safer sandbox environment and will no longer conflict with other Userscripts.
  • (2026/06/02) Major Core Update (v2.5.0): Completely rebuilt the download engine to prevent "0-byte" download failures on slower connections. Added dynamic tooltips to the download button to clearly indicate progress and cancellable states.
  • (2026/04/24) Tags in Filenames: Added the {tags} placeholder to the filename template settings. You can now automatically include video tags (e.g., #tag1_#tag2) in your downloaded files. Generated filenames are also now safely limited to 150 characters to prevent OS-level saving errors.
  • (2026/01/16) Distraction-Free "Clean Viewer": Added a minimalist, player-only interface option. You can switch between the standard watch page and this clean mode in the Settings Menu.

Configuration (Settings Menu)

Access the settings via your extension's popup menu while visiting the site:

  1. Click the Tampermonkey (or equivalent) icon in your browser toolbar (top right).
  2. Click the "Open Settings" item directly displayed underneath the script name.
  3. Configure your preferences in the modal window.

Settings Menu

Settings Panel

Available Options (Click to Expand)
  1. Filename Template
    • Customize the naming format for downloaded files.
    • Placeholders: {user}, {date}, {id}, {tags}
    • Includes a real-time preview to ensure your format is correct.

  2. Appearance: Show buttons only on hover
    • If enabled, buttons are hidden by default and only appear when you hover your mouse over a video or thumbnail.
    • Note: On mobile devices, buttons remain always visible to ensure usability.

  3. Functionality: Open in New Tab
    • Enable Button: Toggle this OFF if you prefer a cleaner look with only the Download button.
    • Viewer Type:
      • Default: Opens the standard RedGIFs watch page.
      • Clean: Opens the media in a minimal, player-only or image-only window.

  4. Advanced Settings
    • Blob Revoke Time: Adjust the time media data is held in memory. Increase this if your downloads are failing (e.g., saving as 0-byte files) on a slow internet connection.

Annoyance & Ad Removal

This script now also cleans the RedGIFs interface by removing visual clutter and ads. This feature is enabled by default and hides the following elements:

  • Top information/ad banner
  • In-feed video ads and promotional videos
  • In-feed "Trending Niches" and "Trending Creators" panels
  • Desktop ad sidebar (hidden without breaking the page layout)
  • The external site buttons in the site header (Cams and Live)
  • "LIVE" ad buttons on video sidebars

A Note on This Feature:

Please consider the Annoyance & Ad Removal a "best-effort" bonus feature. The script's core purpose remains the Download and Open in New Tab buttons.

This feature is tuned for the current RedGIFs site layout, and future site updates will likely break parts of the removal logic. While I will try to keep it functional, please understand that ongoing maintenance for this specific feature is not guaranteed, as it is secondary to the script's main functionality.


Tested Environment

  • This script is primarily developed and tested on Firefox with Tampermonkey.
  • It is also confirmed to work on Chromium-based browsers, but testing on these platforms is less extensive.
  • The script is primarily designed for desktop browsers.
  • While basic functionality is checked using the browser's devtools (mobile emulator), it is not tested on actual mobile devices. You may encounter bugs or UI issues on mobile.

This script is open-source and licensed under the MIT License.