Redgifs Fullscreen CSS de-enshitification

Fix Redgifs fullscreen after Oct 2025 enshitification / "redesign"

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Redgifs Fullscreen CSS de-enshitification
// @namespace    https://greasyfork.org/users/1197672
// @version      1.1
// @description  Fix Redgifs fullscreen after Oct 2025 enshitification / "redesign"
// @author       frak808
// @match        https://www.redgifs.com/*
// @grant        GM_addStyle
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    GM_addStyle(`

        /* Fix fullscreen to work again */
        #root .fullScreen .previewFeed {
            top: 0 !important;
            height: 100vh !important;
        }

        /* Fix fullscreen to work again */
        #root .fullScreen .previewFeed .GifPreview.GifPreview_isActive {
            max-width: unset !important;
            width: 100% !important;
            max-height: 100vh !important;
        }

        /* Fix fullscreen to work again - fix pause before video fullscreens on scroll */
        #root .fullScreen .GifPreview {
          max-height: 100vh !important;
        }

        /* Hide full screen nav bar ie (x) (↑) (↓) */
        #root .fullScreenNav {
         display: none !important;
         height: 420px;
        }

        /* Hide suggested niches */
        #root .gifNiches {
          display: none !important;
        }

        /* Hide Suggested Creators/Suggested Niches */
        #root .desktop .FeedModule {
          display: none !important;
        }

        /* Hide Description */
        #root .description {
          display: none !important;
        }

        /* Hide suggested Niches in between videos */
        #root .injection {
           display: none !important;
        }

        /* Hide RedCams Previews/Click to Chat */
        #root .GifPreview.VisibleOnly {
          display: none !important;
        }

    `);

})();