YouTube enable fullscreen scroll

Removes YouTube's fullscreen scroll disabling, i.e. you can scroll to the comments again in fullscreen.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name        YouTube enable fullscreen scroll
// @description Removes YouTube's fullscreen scroll disabling, i.e. you can scroll to the comments again in fullscreen.   
// @version     1.0.1
// @grant       none
// @namespace   https://lampe2020.de/
// @license     WTFPL
// @include     https://www.youtube.com/watch*
// ==/UserScript==

(()=>{
    const undeprecate = ()=>document.body.querySelectorAll("*").forEach(e => e.removeAttribute("deprecate-fullerscreen-ui"));
    document.addEventListener('DOMContentLoaded', undeprecate);
    document.addEventListener('load', undeprecate);
    document.addEventListener('fullscreenchange', undeprecate);
    undeprecate();
    console.info('%cLampe2020\'s fullscreen scroll undeprecation script is deprecated in favor of %chttps://update.greasyfork.org/scripts/547663/YouTube%20Restore%20Fullscreen%20Scrolling.user.js %c\n Yes, I know this sounds dumb, but the other script is better. ', 'font-size:2em;background-color:lightgreen;color:black;', 'font-size:2em;background-color:lightgreen;color:blue;', 'font-size:1em;background-color:lightgreen;color:black;');
})();