YouTube - Always Theater Mode

Set the default viewing mode to Theater Mode.

< 脚本 YouTube - Always Theater Mode 的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发布于:2024-01-02

Sometimes, it doesn't always work as I noticed that the video is still small but it seems to happen infrequently. It could be a thing on YouTube's end as before I switched to this script, the extensions I used to use stopped working a week or so ago. Beyond that, it's been alright.

§
发布于:2024-01-02
document.addEventListener("yt-navigate-finish", function(event) {
  setTimeout(()=> {
    var newPlayer = document.querySelector('button.ytp-size-button')
    if ( newPlayer && !document.querySelector('ytd-watch-flexy').hasAttribute('full-bleed-player') ) {
      newPlayer.click()
    }
  }, 600)
})
r-a-y作者
§
发布于:2024-01-02

Try CY Fung's fix. If that doesn't work, bump the 600 figure up to 750 and see if that works for you.

发布留言

登录(不可用)以发布留言。

QingJ © 2025

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