Skip to content

Instantly share code, notes, and snippets.

@Xorboo
Last active October 21, 2023 17:36
Show Gist options
  • Save Xorboo/32173c307080d8b8b60bb846278ea27e to your computer and use it in GitHub Desktop.
Save Xorboo/32173c307080d8b8b60bb846278ea27e to your computer and use it in GitHub Desktop.
Remove annoying panel covering up the video when paused
// ==UserScript==
// @name Youtube remove "More Videos"
// @description Remove annoying panel covering up the video when paused
// @author Xorboo
// @namespace https://www.youtube.com
// @version 1.1
// @match *://www.youtube.com/*
// @match *://youtube.com/*
// ==/UserScript==
window.addEventListener('yt-page-data-updated', () => {
document.querySelector(".ytp-pause-overlay-container")?.remove()
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment