你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/811-resize-yt-to-window-size,源站連結 點此以跳轉。
Moves the YouTube video to the top of the website and fill the window with the video player.
w key will toggle the script in the current tab.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.
https://github.com/Zren/ResizeYoutubePlayerToWindowSize/blob/master/changelog.md
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.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)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)