Greasy Fork is available in English.

YouTube Sizer

Resizes the YouTube player to smaller sizes

These are all versions of this script. Show only the versions where the code changed.

  • v1.98 06.08.2024.

    Fixed a bug with trusted types policy for firefox.

  • v1.97 06.08.2024.

    Fixed bug with trusted types policy.

  • v1.96 10.11.2023.

    Updated the description.

  • v1.95 10.11.2023.
  • v1.94 09.11.2023.
  • v1.93 09.11.2023.

    Added a fix for the Firefox web browser.

  • v1.92 09.11.2023.

    Added a @supportURL in the script header.

  • v1.91 09.11.2023.

    Fixed a possible bug with the maxWidth setting.

  • v1.90 31.10.2023.

    Fixed a bug in the code on sizing.

  • v1.89 31.10.2023.

    Minor bug fixes.

  • v1.88 31.10.2023.

    Fixed a bug.

  • v1.87 31.10.2023.

    Added some code fixes for video size.

  • v1.86 31.10.2023.

    Fixed a few bugs.

  • v1.85 31.10.2023.
  • v1.84 31.10.2023.
  • v1.83 18.04.2023.

    Cleaned up some of the logic in the resizeObserver and removed the transitionend event handler.

  • v1.82 18.04.2023.

    Fixed a bug related to the keydown event.

  • v1.81 18.04.2023.

    Updated the maxWidth variable to be more accurate.

  • v1.80 17.04.2023.

    Updated the icon of the script.

  • v1.79 17.04.2023.

    Updated the event listener for keydown.

  • v1.78 17.04.2023.

    Cleaned up some more logic in the load functions of the code.

  • v1.77 17.04.2023.

    Simplified the loading of the code.

  • v1.76 17.04.2023.

    Code clean up.

  • v1.75 16.04.2023.

    Added the PageObserver function to check when the page changes.

  • v1.74 16.04.2023.

    Updated to using a MutationObserver vs setInterval for finding the player container outer.

  • v1.73 15.04.2023.

    Updated an event handler for creating the resize of the video container.

  • v1.72 15.04.2023.

    Updated some of the code to run in proper sequence.

  • v1.71 15.04.2023.

    Cleaned up the startMethods function.

  • v1.70 15.04.2023.

    Fixed loading bug in the code.

  • v1.69 15.04.2023.

    Updated the loading functions of the script.

  • v1.68 14.04.2023.

    Created more code to check if the script is loaded correctly.

  • v1.67 14.04.2023.

    Updated the way the script is loaded on the web page.

  • v1.66 14.04.2023.

    Added a checkUrl function.

  • v1.65 14.04.2023.

    Cleaned up code in the viewInterval function.

  • v1.64 14.04.2023.

    Clean up more code and removed isInViewPort function.

  • v1.63 13.04.2023.

    Bug fixes.

  • v1.62 13.04.2023.

    Updated the createResize function code.

  • v1.61 13.04.2023.

    Added a work around for a bug for the time being.

  • v1.60 13.04.2023.

    Fixed bug from previous version.

  • v1.59 13.04.2023.

    Updated the code when going to a YouTube page directly.

  • v1.58 13.04.2023.

    Added code for the script to run when directly loading a YouTube video.

  • v1.57 12.04.2023.

    Updated the event handler from "yt-navigate-finish" to "yt-navigate" for faster loading of the script.

  • v1.56 12.04.2023.

    Updated the button tool tip text and updated the preview picture.

  • v1.55 12.04.2023.

    Updated the preview image and the button icons.

  • v1.54 12.04.2023.

    A little clean up with the SVG path variables and other variables.

  • v1.53 12.04.2023.

    A lot of code clean up and simplification of the loading of the script.

  • v1.52 11.04.2023.

    Updated the viewInterval function logic to allow for vertical videos.

  • v1.51 11.04.2023.

    Major changes to the code to simplify many of the functions.

  • v1.50 11.04.2023.

    Fixed a bug in the size of the video container.

  • v1.49 11.04.2023.

    Created a fix for the incomplete bug fix to the previous bug.

Show all script versions