- The
wkey will toggle the script in the current tab. - Use Resize Video To Window Size for Crunchyroll, Vimeo, and a few other sites.
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
- Bind toggle to
keydowninstead ofkeyupso that pressingCtrl+Wto close a tab does not trigger the YTWP toggle when you focus on a Youtube tab.
- Bind to
yt-page-data-fetchedandyt-navigate-finishto fix the back button not cleaning up the window view sinceyt-navigate-startdoes not always fire (Issue #72 and #76) - Bind
keyupnotkeypress(which is deprecated). Also cancel event duringkeydown. This fixes thewkey also changing the caption box style. It should also fix changing the toggle key toEscape(Issue #71)
- Fix page top margin as certain elements seem to ignore the CSS properties completely (Issue #88)

