YouTube enable fullscreen scroll

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

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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

// ==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;');
})();