Remove YT Embed Pause Overlay

Removes the pause overlay from embedded YouTube videos

  1. // ==UserScript==
  2. // @name Remove YT Embed Pause Overlay
  3. // @namespace https://gf.qytechs.cn/en/users/9694-croned
  4. // @version 1.3
  5. // @description Removes the pause overlay from embedded YouTube videos
  6. // @author rend
  7. // @include https://www.youtube*.com/embed/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. setTimeout(function() {
  15. document.getElementsByClassName("ytp-pause-overlay ytp-scroll-min")[0]?.remove();
  16. document.getElementsByClassName("ytp-pause-overlay")[0]?.remove();
  17. document.getElementsByClassName("ytp-pause-overlay-container")[0]?.remove();
  18. }, 1000);
  19. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址