Greasy Fork is available in English.
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)