Bring Back YouTube Fullscreen Scroll [Working]

Restore scroll in YouTube fullscreen mode.

2025-09-07 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name                          Bring Back YouTube Fullscreen Scroll [Working]
// @name:fr                       Restaurer le défilement en plein écran YouTube [Fonctionnel]
// @name:es                       Restaurar el desplazamiento en pantalla completa de YouTube [Funcionando]
// @name:de                       YouTube-Vollbild-Scrollen wiederherstellen [Funktioniert]
// @name:it                       Ripristina lo scorrimento a schermo intero di YouTube [Funzionante]
// @name:zh-CN                    恢复 YouTube 全屏滚动【可用】
// @namespace                     https://gist.github.com/4lrick/1060be71b57d6b6923c461223d077b13
// @version                       1.1
// @description                   Restore scroll in YouTube fullscreen mode.
// @description:fr                Restaurer le défilement en plein écran YouTube.
// @description:es                Restaurar el desplazamiento en pantalla completa de YouTube.
// @description:de                YouTube-Vollbild-Scrollen wiederherstellen.
// @description:it                Ripristina lo scorrimento a schermo intero di YouTube.
// @description:zh-CN             恢复 YouTube 全屏滚动。
// @author                        4lrick
// @match                         https://www.youtube.com/*
// @icon                          https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant                         none
// @license                       MIT
// ==/UserScript==

(function() {
    'use strict';
    const css = `
        ytd-app[fullscreen] {
            overflow: auto !important;
        }

        ytd-app[scrolling] {
            bottom: 0 !important;
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
        }

        ytd-app[fullscreen]::-webkit-scrollbar,
        ytd-app[scrolling]::-webkit-scrollbar {
            display: none !important;
        }

        ytd-watch-flexy[fullscreen] #columns {
            display: flex !important;
        }
    `;

    const style = document.createElement('style');
    style.textContent = css;
    document.documentElement.appendChild(style);
})();