Redgifs Embed Tweaks (RET)

tweaks redgifs embed/iframe video

These are versions of this script where the code was updated. Show all versions.

  • v0.6.0 2025-11-27

    refactor(css): use modern style in volume slider

  • v0.5.9aa 2025-11-01

    fix: Correct synchronized sound setting in syncSettingsControl

    • fix(sync): Correct the sound control logic in syncSettingsControl to fire the click event on the opposite button element (e.g., click Sound Off when enableSound is true) to properly toggle the Redgifs UI state based on stored value.
    • chore(metadata): Update version from 0.5.9a to 0.5.9aa.
  • v0.5.9a 2025-11-01

    refactor: Refine volume slider CSS for cross-browser consistency

    • refactor(style): Overhaul volume slider (input[type=range]) CSS to use vendor prefixes and detailed rules, improving visual appearance and cross-browser consistency (WebKit/Firefox/IE/Edge).
    • refactor(style): Introduce CSS variable --volume-slider-clr for easier theme customization.
    • fix(logic): Correct detectButtonsClick logic for detecting sound on/off to match the new button mapping (swapping Sound On and Sound Off actions).
    • chore: Update script version from 0.5.8 to 0.5.9a.
  • v0.5.8 2025-10-29

    fix: not working in chromium

    • No preload videos: Set src on detect video
  • v0.5.7 2025-10-29

    feat: Add iframe lazy loading and an option to disable video preloading

    • Lazy load iframes: Lazy loading iframes to improve performance.
    • No preload videos: Prevents videos preloading for save data/resource.
    • Updated the script version to 0.5.7
  • v0.5.6 2025-10-27

    feat(redgifs): fix fullscreen button, opening page, instead enter fullscreen.

  • v0.5.5 2025-10-22

    fix: RedGifs changed the UI

    • Updated CSS selectors.
    • Updated styles to handle new UI.
  • v0.5.4 2025-10-10

    feat: improve compatibility

    This commit introduces a compatibility fix for userscript managers's menu behavior. Unlike Violentmonkey, others requires the extension popup to be closed and reopened for menu changes to render.

    Key Changes

    • Dynamic autoClose: The autoClose constant is now determined by checking GM_info.scriptHandler.
    • Version Update: The script version has been updated to 0.5.4.
  • v0.5.3 2025-10-10

    feat: add collapsible menu commands

    New Features

    • Collapsible Menu: Added a new expandOptions command to the menu. When this is active, it hides all other menu commands for a cleaner interface.
    • Dynamic Menu Management: The script now uses GM_unregisterMenuCommand to remove existing menu items.

    Code Changes

    • @grant update: Added GM_unregisterMenuCommand to the header.
    • commands object: A new expandOptions key was added to manage the state of the collapsible menu.
    • loadCommands() function: Modified to check the state of expandOptions and conditionally load the other menu commands.
    • toggleExpand() function: A new function was added to handle the logic for collapsing and expanding the menu. This function registers the correct command label (Expand or Collapse) and unregisters all other commands when the menu is collapsed.
    • initVideo() function: The applyCommands loop now uses optional chaining (?.) to handle commands without an applyEffect property, like expandOptions.
    • Version bump: Updated the script version to 0.5.3.
  • v0.5.2 2025-09-18

    Update

  • v0.5.1 2025-09-06

    Update

  • v0.5.0 2025-09-06

    Update

  • v0.4.8 2025-08-01

    fix: atualizar versão para 0.4.8 e adicionar suporte à sincronização de preferências

  • v0.4.7.6 2025-07-31
  • v0.4.7.5 2025-07-08

    fix: alterar classe de ocultação para 'ret-hidden' no dropdown de download

    fix: atualizar versão para 0.4.7.5

  • v0.4.7.4 2025-07-08

    fix: atualizar versão para 0.4.7.4 e melhorar formatação do código

  • v0.4.7.3 2025-06-09

    fix: adicionar controle de autoplay para o vídeo

  • v0.4.7.3 2025-06-08

    fix: atualizar versão para 0.4.7.2 e melhorar logs de inicialização

    fix: atualizar versão para 0.4.7.3 e refatorar lógica de comandos e download

  • v0.4.7.1 2025-05-24

    fix: atualizar versão para 0.4.7.1 e refatorar a lógica de comunicação entre iframes

  • v0.4.7 2025-05-23

    fix: atualizar versão para 0.4.7 e adicionar método de download na janela superior

  • v0.4.6.2 2025-05-23

    fix: atualizar versão para 0.4.6.2

  • v0.4.6.1 2025-05-23

    feat: adicionar suporte a blacklist e comunicação entre iframes

  • v0.4.6.1 2025-05-23

    fix: update version to 0.4.6.1 and refactor button selectors

  • v0.4.6 2025-05-23

    version update

  • v0.4.5 2025-05-23

    up

  • v0.4.5 2025-05-18

    fix: update version to 0.4.5 and remove unused autoplay patch

  • v0.4.4 2025-05-10

    fix: update version to 0.4.4 and improve video control features

  • v0.4.3 2025-04-16 Imported from URL
  • v0.4.2 2025-03-17 Imported from URL
  • v0.4.1 2025-03-17 Imported from URL
  • v0.4.0 2025-03-09
  • v0.3.9 2025-02-13

    Up

  • v0.3.9 2025-02-13

    Up

  • v0.3.9 2025-02-13

    Wrap CSS

  • v0.3.9 2025-02-12
    • Fix Chrome prevent autoplay not working
  • v0.3.9 2025-02-12

    Up

  • v0.3.9 2025-02-12
    • Added Pause video when not visible
  • v0.3.9 2025-02-12
    • Fix autoplay

    Version updated

  • v0.3.8 2025-02-12

    Version update

  • v0.3.7 2025-02-12

    Up

  • v0.3.7 2025-02-11

    Version Update

  • v0.3.6 2025-02-11

    Up

  • v0.3.6 2025-02-10
    • Added command options
  • v0.3.5 2025-02-10
    • Fix download
    • Added download menu
    • Removed options bloat, auto pause video, middle click, change background and refresh button
  • v0.3.4 2025-01-12

    Up

  • v0.3.4 2024-11-24

    Using Blob/Anchor instead GM_download

  • v0.3.3 2024-10-01

    Fix download video; Fix not loading buttons some times;

  • v0.3.2 2024-05-29

    Use GM_download outside the iframe

  • v0.3.1 2024-05-23

    Use GM_download to workaround CSP in some websites

  • v0.3.0 2024-05-02

    Replace Direct link with Download button

Show all script versions