Resize YT To Window Size

Moves the video to the top of the website and resizes it to the screen size.

Устаревшая версия за 29.04.2015. Перейдите к последней версии.

Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.

  • вер. 139 21.05.2024

    Remove unused args

    Fix duplicate body in selector

  • вер. 139 10.04.2024

    v139 - Fix page top margin as some CSS properties are ignored (#88)

  • вер. 138 09.01.2024

    v138 - Bind toggle to keydown instead of keyup

    so that pressing Ctrl+W to close a tab does not trigger the YTWP toggle when you then focus on a Youtube tab.

  • вер. 137 01.11.2023

    Bind keyup not keypress. Also cancel event for keydown. Fix #71

    Bind to yt-page-data-fetched and yt-navigate-finish (Issue #72 + #76)

    v137 - Fix back button Issue #72 + #76, and w keybinding Issue #71

  • вер. 136 30.08.2023

    v136 - Attempt to fix ytd-watch-grid papercuts (Issue #81)

    Basically copied every rule containing ytd-watch-flexy.

  • вер. 135 30.08.2023

    Add a ytwp.debugPage function for debugging youtube changes

    Add check to see if the page has changed. If so, print debug.

    v135 - Attempt to fix ytd-watch-grid (Issue #81)

  • вер. 134 22.08.2023

    v134 - Fix container getting shifted again (Issue #79) Thanks @Vamael.

  • вер. 133 18.08.2023

    Correct the px value in comment and link to issue.

    v133 - Fix container getting shifted (Issue #79) Thanks @Vamael.

  • вер. 132 29.06.2023

    v132 - Fix video container getting shifted after YT update (Issue #77)

    • Fix nav moving around when guide is open.
    • Added bgcolor=black to #movie_player so it looks better in light mode.
  • вер. 131 11.03.2023 v131 - Fix theater mode toggle, and change URL detection events. Fix theater mode toggle. ytd-watch-flexy DOM is weird. (#75) Listen for yt-navigate-start and yt-navigate-finish events.
  • вер. 130 19.04.2022 Add quick boolean toggle for enableOnLoad (Issue #67 and #69), Fix video cropping caused by object-fit:cover (Issue #70) Also fix splash thumbnail cropping when not autoplaying., Expose script toggle keybinding as it'll need to change (Issue #71), v130 - Fix video crop, add settings for toggle key + enable on load
  • вер. 129 10.03.2022 v128 - Disable script when an unavailable video is detected Also remove some logging, v129 - Fix toggling theater mode (Issue #66) YouTube moved the button into the settings cog menu.
  • вер. 127 05.04.2021 v127 - Resize the video faster by styling the `#player-wrap` element.
  • вер. 126 05.04.2021 v126 - Fix scrollbar not being hidden in Chrome. Remove hidden Firefox scrollbar from description as it's no longer experimental.
  • вер. 125 09.02.2021 v125 - Bind `w` key to toggle off script on current page. Prep ff ext.
  • вер. 124 18.04.2020 Document enhancer-for-youtube support (Pull Request #51)
  • вер. 124 18.04.2020 Fixed compatibility with "enhancer for youtube" pinned player doesn't get blown up now, Merge pull request #51 from cougarten/patch-1 Fixed compatibility with "enhancer for youtube"
  • вер. 124 06.11.2019 Fix autogenerated gaming channel "live channels" page (Issue #46)
  • вер. 123 24.06.2019 v123 - Support /user/pokemon/live url paths.
  • вер. 122 30.01.2019 v122 - Add `html:not([fullscreen="true"])` to script selector Update most selectors since we prefixed the body selector with html tag selectors.
  • вер. 121 18.11.2018 v121 - Fix miniplayer video getting positioned offscreen. Add the Firefox scrollbar tweak in the suggestions.
  • вер. 120 13.11.2018 Show error screen if video can't load., v120 - Add experimental support for hiding scrollbar in Firefox v63.
  • вер. 119 22.08.2018 OpenUserJS requires a license header
  • вер. 119 22.08.2018 Fix player height when miniplayer is active in the flexy layout. Bug noticed when testing with Iridium in firefox., Make sure the thumbnail shows up when the autoplay is disabled. Easiest way to test is with Iridium. See issue #41, v119
  • вер. 118 20.05.2018 v118 - Fixup ytd-watch => ytd-watch-flexy interface.
  • вер. 117 21.04.2018 v117 - Slightly fix the playlist area positioning in the old youtube layout.
  • вер. 116 19.04.2018 Cleanup unused addClass functions (no need with el.classList.add), Use a 32px icon since the 16px icon is too small in most GUIs. Issue #34 from GitHub, Support YouTube's new MiniPlayer Bar. Fixes issue #36 from GitHub., v116, quick fix, don't static postion the miniplay-bar-renderer, v116: also don't use unsafeWindow as firefox isn't triggering onScroll
  • вер. 115 08.12.2017 v115 - Fix script not loading error when the page has only loaded halfway.
  • вер. 114 08.12.2017 v114 * Use !important to fix compatibility with Youtube+ on the old Youtube layout.
  • вер. 113 05.12.2017 use playerHeight variable
  • вер. 113 05.12.2017 v113 Fix the autocomplete popup when the video is still visible. Remove the html5 patch code too.
  • вер. 112 03.12.2017 v112 * Fix the positioning of the search box's autocomplete popup (it was previously hidden). * Attempt to cleanup the player every 2.5sec instead of every 1sec, as well as the first 150 frames on page load.
  • вер. 111 10.11.2017 v111 * Constantly attempt to enter Theater mode every second if we don't enter it right away. * Support entering theater mode in the old layout.
  • вер. 110 06.10.2017 Click to focus on video on page transition., Support Youtube+'s rewrite (Iridium) for the Material design layout., v110 - Focus on video on page load. Support Iridium.
  • вер. 109 19.09.2017 Imported from URL
  • вер. 107 31.08.2017 v107 - Fix videos on channel pages when first visiting a video page.
  • вер. 106 04.07.2017 v106 - Enable script on `/c/ChannelName/live` and `/channel/ChannelId/live` pages. Refactor ytwp.util.isWatchUrl to ytwp.isWatchUrl. Fix declaration of ytwp.watchPage. We assign/cache to ytwp.isWatchPage.
  • вер. 105 29.06.2017 v105 - Fix update loop not starting.
  • вер. 104 27.06.2017 v104 - Don't start another fix loop when one is in progress.
  • вер. 103 27.06.2017 v103 - Reattempt fix 10 more times on page load (shit solution but it works)
  • вер. 102 19.06.2017 Imported from URL
  • вер. 101 11.05.2017 Forgot to prefix the ytwp. in front of the doMonkeyPatch call, v101 Finish the last regex for applying the control bar fix on page load, control bar should now work in firefox.
  • вер. 100 11.05.2017 Patch window._yt_player.WU (or .VU on firefox) to get the app instance
  • вер. 99 10.05.2017 v99
  • вер. 98 09.05.2017 Commit the new ...Application.create() function so we can check later, v98 Quick update for the control bar monkey patch. We need to reinit the player so it's slightly slower than normal. Unfortunately the list of players isn't exposed anymore.
  • вер. 96 25.04.2017 v96 - Fix Material UI bug. Don't use pubsub anymore since Material UI keeps fucking around with it's API. Just use a periodic timer., @grant none
  • вер. 95 16.04.2017 v95 - TempFix for detecting page transition for the Material UI. Check the URL every 500ms and see if it's changed. A proper fix will come when I find a better solution.
  • вер. 94 15.04.2017 Imported from URL
  • вер. 92 21.03.2017 Synced from GitHub - Fix top alignment of contents of material page - instance_ no longer exists, subscribe is public now though. - pubsub2 subscribe was also moved - v92 * Fix content positioning in the Material Design css. * Fix some error spam caused by the pubsub/pubsub2 subscribe() function getting moved.
  • вер. 91 04.03.2017 Synced from GitHub - v91 - Update CSS for new version of the Material design layout Material design layout can be toggle by adding &f6=4 to the PREFS cookie as mentioned here: https://www.reddit.com/r/youtube/comments/4yin6w/force_the_new_material_layout_when_logged_in/ - The note is useless.

Показать все версии скрипта