Greasy Fork is available in English.
Automatically collapse More videos popup in YouTube.
// ==UserScript==
// @name Simplify Embedded YouTube Player
// @description Automatically collapse More videos popup in YouTube.
// @namespace https://greasyfork.org/users/1458847
// @license MIT
// @match https://www.youtube-nocookie.com/*
// @match https://www.youtube.com/embed/*
// @version 2.1
// ==/UserScript==
(function () {
"use strict";
var style = document.createElement("style");
style.textContent = `
#player-control-overlay > div > player-fullscreen-controls > player-fullscreen-action-menu > div > div {
display: none !important;
}
#player-control-overlay > div > div.player-controls-background-container > div.player-controls-background {
display: none !important;
}
#player-control-overlay > div > div:nth-child(5) > player-middle-controls {
display: none !important;
}
.ytp-paid-content-overlay, .ytmPaidContentOverlayHost {
display: none !important;
}
#player-controls {
height: 60px;
}
.ytp-pause-overlay-container {
display: none !important;
}
.ytp-watermark {
display: none !important;
}
.caption-window {
display: unset !important;
}
`;
document.querySelector("head").appendChild(style);
})();