更佳 YouTube 剧场模式

改进 YouTube 剧场模式,参考 Twitch.tv 的设计,增强视频与聊天室布局,同时保持性能与兼容性,也达到了类似B站的网页全屏功能。同时新增可选的、自制风格的浮动聊天室功能(仅限全屏模式),融入了 YouTube 原有的设计语言。

这是此脚本的所有版本。 只显示代码更新过的版本

  • v1.4 2025-01-08

    Added a menu to allow users to disable the script fully or partially without reloading. Fixed a bug that caused the video element to resize when the adjacent UI elements have moved.

  • v1.3.5 2025-01-08
  • v1.3.5 2025-01-08

    Added a UI to temporarily disable the script without reloading.
    Fixed a bug that caused the video element to not update immediately after the surrounding UI has updated.

  • v1.3.5 2025-01-07

    Moved video element up by 1 pixel to hide the occasional row of pixels caused by rounding issues during style calculations for end screens.

  • v1.3.4 2025-01-07

    Fixed an issue where going to the previous page would not trigger headmast width calculations if the previous page is the YouTube homepage.

  • v1.3.3 2025-01-06

    Fixed event listeners. It seems that the player-api-ready event does not fire if there is no chat box.

  • v1.3.2 2025-01-06

    Fixed a bug that caused the masthead width to not calculate when returning to the YouTube homepage.

  • v1.3.1 2025-01-04

    Fixed an issue that caused the chat renderer width to be calculated incorrectly if the element is read too early while and only while using the "Open panel" button to uncollapse the chat box.

  • v1.3 2025-01-02

    Script now makes the chat renderer extend fully to the top of the screen.
    Script now scales the width of the youtube masthead dynamically to avoid covering the larger chat renderer.
    Script now removes redundant borders from chat elements. YouTube stacks 2 extra borders on top of the pre-existing border created by the browser. This is particularly noticable when viewing in theater mode so that had to be fixed.

    Note: v1.1 and v1.2 were never released

  • v1.0 2025-01-01

显示脚本的所有版本

QingJ © 2025

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