Greasy Fork is available in English.
Automcatically switches to your pre-selected resolution. Enables premium when possible.
These are versions of this script where the code was updated. Show all versions.
[minor] Changed logging behaviour to include line number. Defined homepage.
Remove call to deleted function.
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.
maybe?
HAIYA
Accidentally removed something in version 2024.09.01. Shouldn't be noticable on most setups regardless.
oooooooooooops.
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.
Changed the check for Shorts to run before other checks. Disabled the verification step if quality is not being actively set.
Updated verification logic to be less agressive and more consistent.
Updated verification to run after yt-navigate-finish.
Increased retry delay from 200ms to 250ms.
Added a check to make sure that the selected quality is actually applied. Previously the settings would apply after a long delay if the video content somehow loads earlier than the video player itself. Definitely a weird case, but I think the bug could consistently be triggered if a setup is configured such that the machine itself is underpowered but is paired with some exceedingly fast internet.
Fixed compatibility with TamperMonkey caused b TamperMonkey not yet fully supporting GreaseMonkey 4 functions.
[minor] Updated for readability and minor stuff like that.
...
Fixed the issue that moving back and forth in browser history without loading a new video would cause the script to detect the same video and skip applying the user's quality settings.
[minor] Changed metadata indents to space instead of tabs. Looked too ugly.
Updated GM functions to newest version. This appears to have improved the menu's reponsiveness although that was not the initial intent when making this update.
Missed a permission. Now violentmonkey should work properly.
I really need to stop forgetting to change the debug flag...
Fixed bug that caused quality to be blank if playing video lacks the full range of quality options.
**Added explicit filter to block script from trying to run on youtube shorts.**
Fixed script not having the correct permissions when used with VioletMonkey. Now the script should read saved settings correctly. Removed the ability to change quality preferences in embedded pages.
set debug flag to false. oops.
Changed menu text for clarity.
[ADDED] New UI menu to allow the user to select the quality seemlessly.
[REMOVED] Deleted the design for users to change the target resolution through editing variables in code.
Fixed embedded videos not working.[Removed] Fetching last used YouTube setting.
Added an option to retrieve the last quality chosen on YouTube and use that instead.Reworked how settings are saved and retrieved to better account for future updates.Makes it so settings stored locally by YouTube are written back after video quality is changed by the script.
Very slight optimization. Realized that default behaviour was being needlessly overwritten with default behaviour. Removed that.
Updated setting order and rewrote code comments for better user clarity.Updated script information on GreasyFork.
Fixed a few minor bugs.Removed redundent code.
Actually fixed the bug this time. Hopefully. Hard to debug when I only occasionally trigger the bug and have no idea of the cause.
Fixed bug that caused mouse-over video previews to block video quality from applying.
Updated Premium mode to directly call YouTube API instead of using button emulations. So apparently the entire internet is wrong. There is a way to set premium bitrate with YouTube API, it's just not in the official documentations.Now will ALWAYS prefer premium bitrate when possible.
Fixed a typo in the Japanese description.
Fixed an issue where button emulation for premium qualities would execute before element content has loaded under specific conditions.
Deleted check for the changeResolution setting. I forgor.
Removed the changeResolution option in the script. The script only has one function and can be disabled by turning the script off the script or uninstalling.
Added support for embedded YouTube videos.Removed support for YouTube Music. (why did adisib even make the original script to support youtube music??? it was causing more issues than it was fixing and was hugely unnecessary for an audio focused youtube page...)Fixed issue that made the script not detect when a new video is loaded under certain circumstances.
Added multi-lingual support. Previously premium quality would cause the script to fail if used with non-English YouTube.
Removed auto theater as the option is already persistent within session. Removed explicit support for older greasemonkey/firefox versions. Removed obsolete event listeners. Extracted old changelogs from the code comments into a pastebin https://pastebin.com/yvErQ4rz(I will add back the auto theater function if enough people ask for it, otherwise just download v2024.06.25.1)
Disable save overwrite so I don't wipe your saved settings.
Show all script versions