Youtube HD Premium

Automcatically switches to your pre-selected resolution. Enables premium when possible.

To są wszystkie wersje tego skryptu. Pokaż tylko te wersje, gdzie kod został zmieniony.

  • v2025.01.25 24-01-2025
  • v2025.01.25 24-01-2025

    Added the 'Optimzed Auto' option. Uses the YouTube's auto option but makes sure Premium bitrate is selected all the time as YouTube sometimes fails to detect Premium availability.

    Fixed an issue which caused videos to load multiple times when Premium bitrate is available and is the page loaded.

  • v2025.01.23.1 23-01-2025

    Explicitly differentiate the handling for mobile and desktop sites.

  • v2025.01.23 22-01-2025

    Removed the deprecated 5K resolution option.

  • v2025.01.13 13-01-2025

    Fixed an issue where the first video loaded would play for a split second before reloading to the correct quality if premium bitrate is available and chosen.

  • v2025.01.11 12-01-2025

    Fixed an edge case where the page could reload the video player without triggering an update event.

  • v2025.01.08.1 07-01-2025

    Revert to update v2025.01.07

  • v2025.01.08 07-01-2025

    Fixed an issue where the first video loaded would have the quality set too late resulting in videos loading twice. When refreshing a video, it seems that no events are fired early enough to prevent this issue. Counter-intuitively, however, the YouTube API seems to be always ready right after full re-loading. Thus the script is changed to immediately try to change resolution once on load.

  • v2025.01.07 06-01-2025

    Added a miniscule amount of error handling.

  • v2025.01.06 05-01-2025
  • v2025.01.06 05-01-2025

    🎉🎉🎉It seems appropriate to push a new update around the new year.🎉🎉🎉

    Simplified code logic by switching to event listeners that directly listen for video player related events. This should be smoother and more performant than before.
    Reintroduced setting quality for YouTube Shorts as that is now possible throught the YouTube API.

    There seems to be an edge case that the player-state-changed event would not fire when switching from the desktop version to the mobile version that only happens rarely and I am failing to reproduce consistently.

  • v2024.11.12.1 13-11-2024

    [minor] Changed the emoji use in the custom UI menu that was used to indicate the expansion state for clarity purposes.

  • v2024.11.12 11-11-2024

    Added basic localization for the script's UI menu.

  • v2024.11.11.1 11-11-2024

    Updated supported YouTube domains. Apparently www.youtube-nocookie.com is used for some embedded videos so that was added to the list of matched URLs.

  • v2024.11.11 11-11-2024
  • v2024.11.11 11-11-2024

    Updated script information and added localized descriptions for Japanese, Traditional Chinese, and Simplified Chinese. (version bump)

  • v2024.11.08 08-11-2024

    Updated script to handle mobile web Youtube. YouTube load events don't seems to fire on the mobile version of the website.

  • v2024.10.22 25-10-2024
  • v2024.10.22 22-10-2024

    Removed the ability to set video quality to 'auto' through the script as that is redundant. Also removed any associated logic.

  • v2024.10.21.1 21-10-2024
  • v2024.10.21.1 21-10-2024

    [minor] Very minor refactoring. No functional changes.

  • v2024.10.21 20-10-2024

    Cleaned up old code.
    Simplified redundant code that was added older GM compatibility reasons.

  • v2024.10.19.1 18-10-2024
  • v2024.10.19 18-10-2024

    Updated script to use the newer Grease Monkey API (4+).
    Added a compatilibty mode to fallback to in the case some script loaders are incompatible with newer Grease Monkey versions.

  • v2024.10.14 13-10-2024

    Updated video load handling to give better compatibility for iframe videos.
    minor bug fixes

  • v2024.10.13.1 13-10-2024

    [Critical Bug Fix] Script would fail to find the correct element to attach to under certain conditions and thus would fail to trigger.

  • v2024.10.13 13-10-2024

    Fixed an absolutely absurd number of very minor bugs. Cleaned up code a bit.

  • v2024.10.12.1 12-10-2024
  • v2024.10.12.1 11-10-2024

    [Bug Fix] Script should not run if user settings fail to load.

  • v2024.10.12 11-10-2024

    debug options changed from a in-code flag to a persistent setting.
    Better verification logic. Changed verification logic to account for edge case where the script fails to set quality but YouTube auto quality happens to set the playback quality to one that matches what the script would have set if it was successful. This used to cause the verification to pass even though it should have failed. A consequence of this is that youtube's auto quality would be overridden. No other quality levels will be overriden, keeping the same behaviour as before.
    [m] bug fixes.

  • v2024.10.11 10-10-2024

    [CRITICAL BUG FIX] Last update broke the script and loading a youtube page with no videos (e.g. homepage) would cause the script to crash.

  • v2024.10.10 09-10-2024

    Changed the verification mechanism to only run after the video has started playing.
    Changed the verification mechanism to run everytime the video switches from pause to play. This should hopefully cover the edge case that occurs when video resumes after browser/tab sleep.
    Changed the UI menu expansion state to be persistent.

  • v2024.09.12 27-09-2024
  • v2024.09.12 11-09-2024

    [minor] Changed url matching to be more flexible in case anyone is loading non-http verions of youtube.

  • v2024.09.07.1 07-09-2024
  • v2024.09.07.1 06-09-2024
  • v2024.09.07 06-09-2024

    [minor] Changed logging behaviour to include line number. Defined homepage.

  • v2024.09.02.1 04-09-2024
  • v2024.09.02.1 03-09-2024
  • v2024.09.02.1 03-09-2024
  • v2024.09.02.1 01-09-2024

    Remove call to deleted function.

  • v2024.09.02 01-09-2024

    Removed function to write quality preference to browser storage. I must have IQ below 0. YouTube already writes to localStorage so we don't need to do that ourselves with the script.

  • v2024.09.01.4 31-08-2024

    maybe?

  • v2024.09.01.3 31-08-2024

    HAIYA

  • v2024.09.01.2 31-08-2024

    Accidentally removed something in version 2024.09.01. Shouldn't be noticable on most setups regardless.

  • v2024.09.01.1 31-08-2024

    oooooooooooops.

  • v2024.09.01 31-08-2024

    Changed the script to write quality change action to browser storage. This should'nt change how the script change settings, but should hopefully allow YouTube to periodically re-check quality preference when playing a very long video, or if the video tab has been left open for extended periods of time.

  • v2024.08.29 31-08-2024
  • v2024.08.29 30-08-2024
  • v2024.08.29 28-08-2024

    Changed the check for Shorts to run before other checks. Disabled the verification step if quality is not being actively set.

Pokaż wszystkie wersje skryptu