Greasy Fork is available in English.

YouTube Sizer

Resizes the YouTube player to smaller sizes

Tästä skriptistä on versioita, joissa koodia päivitettiin. Näytä kaikki versiot.

  • v1.96 10.11.2023

    Updated the description.

  • v1.95 10.11.2023
  • v1.94 9.11.2023
  • v1.93 9.11.2023

    Added a fix for the Firefox web browser.

  • v1.92 9.11.2023

    Added a @supportURL in the script header.

  • v1.91 9.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.4.2023

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

  • v1.82 18.4.2023

    Fixed a bug related to the keydown event.

  • v1.81 18.4.2023

    Updated the maxWidth variable to be more accurate.

  • v1.80 17.4.2023

    Updated the icon of the script.

  • v1.79 17.4.2023

    Updated the event listener for keydown.

  • v1.78 17.4.2023

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

  • v1.77 17.4.2023

    Simplified the loading of the code.

  • v1.76 17.4.2023

    Code clean up.

  • v1.75 16.4.2023

    Added the PageObserver function to check when the page changes.

  • v1.74 16.4.2023

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

  • v1.73 15.4.2023

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

  • v1.72 15.4.2023

    Updated some of the code to run in proper sequence.

  • v1.71 15.4.2023

    Cleaned up the startMethods function.

  • v1.70 15.4.2023

    Fixed loading bug in the code.

  • v1.69 15.4.2023

    Updated the loading functions of the script.

  • v1.68 14.4.2023

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

  • v1.67 14.4.2023

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

  • v1.66 14.4.2023

    Added a checkUrl function.

  • v1.65 14.4.2023

    Cleaned up code in the viewInterval function.

  • v1.64 14.4.2023

    Clean up more code and removed isInViewPort function.

  • v1.63 13.4.2023

    Bug fixes.

  • v1.62 13.4.2023

    Updated the createResize function code.

  • v1.61 13.4.2023

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

  • v1.60 13.4.2023

    Fixed bug from previous version.

  • v1.59 13.4.2023

    Updated the code when going to a YouTube page directly.

  • v1.58 13.4.2023

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

  • v1.57 12.4.2023

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

  • v1.56 12.4.2023

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

  • v1.55 12.4.2023

    Updated the preview image and the button icons.

  • v1.54 12.4.2023

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

  • v1.53 12.4.2023

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

  • v1.52 11.4.2023

    Updated the viewInterval function logic to allow for vertical videos.

  • v1.51 11.4.2023

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

  • v1.50 11.4.2023

    Fixed a bug in the size of the video container.

  • v1.49 11.4.2023

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

  • v1.48 11.4.2023

    Fixed a bug in the code of #small-player being added two times on page load.

  • v1.47 10.4.2023

    Updated some of the event handler code.

Näytä kaikki skriptin versiot.