Greasy Fork is available in English.
Bring back old layout of YouTube Live Chat
// ==UserScript==
// @name YouTube Classic Live Chat Position
// @namespace https://github.com/Amadeus-AI
// @description Bring back old layout of YouTube Live Chat
// @icon https://www.youtube.com/s/desktop/3748dff5/img/favicon_48.png
// @version 1.0.0
// @author AmadeusAI
// @match *://*.youtube.com/*
// @run-at document-start
// @grant none
// @license MIT
// ==/UserScript==
(function() {
let tries = 0;
const maxTries = 1;
const intervalTime = 42; // ms
const tryRestore = () => {
if (window.yt?.config_?.EXPERIMENT_FLAGS) {
const flags = window.yt.config_.EXPERIMENT_FLAGS;
flags.web_watch_enable_fs_squeezeback_panels = false
flags.web_watch_theater_chat = false
}
if (++tries >= maxTries) clearInterval(timer);
};
const timer = setInterval(tryRestore, intervalTime);
})();