你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/811-resize-yt-to-window-size,源站連結 點此以跳轉

Resize YT To Window Size

Moves the YouTube video to the top of the website and fill the window with the video player.



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/811/Resize%20YT%20To%20Window%20Size.user.js

安装此脚本?
作者
Zren
日安装量
1
总安装量
18,223
评分
111 12 2
版本
139
创建于
2014-05-11
更新于
2024-05-21
大小
40.9 KB
许可证
MIT
适用于

Suggestions

Screenshots

After loading the video webpage you will see:

It appears above the rest of the site, so you can scroll down for the description, related links, etc.

Changelog

https://github.com/Zren/ResizeYoutubePlayerToWindowSize/blob/master/changelog.md

v138 - January 9, 2024

  • Bind toggle to keydown instead of keyup so that pressing Ctrl+W to close a tab does not trigger the YTWP toggle when you focus on a Youtube tab.

v137 - November 1, 2023

  • Bind to yt-page-data-fetched and yt-navigate-finish to fix the back button not cleaning up the window view since yt-navigate-start does not always fire (Issue #72 and #76)
  • Bind keyup not keypress (which is deprecated). Also cancel event during keydown. This fixes the w key also changing the caption box style. It should also fix changing the toggle key to Escape (Issue #71)

v139 - April 10, 2024

  • Fix page top margin as certain elements seem to ignore the CSS properties completely (Issue #88)