NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
This userscript automatically sets the Twitch video player quality to Source (or the highest available quality) immediately upon loading a stream.
Unlike standard automation scripts that may fail due to slow UI loading or leave menus open, this script utilizes a "Ghost Interaction" mode. It temporarily hides the settings menu using a CSS mask while navigating the options programmatically, ensuring the quality change is seamless and unobtrusive to the user.
localStorage to hint to the player that "Source" quality is preferred before the video begins buffering.opacity: 0 style to the settings menu container. This keeps the menu interactive for the script but invisible to the user.Q: Will this break if Twitch updates their site layout?
A: The script uses robust attribute selectors (e.g., data-a-target) rather than specific CSS classes. This makes it highly resistant to Twitch's frequent layout updates and randomized class names.
Q: Why do I sometimes see a momentary flash of the menu?
A: The script attempts to hide the menu container immediately upon detection. on systems with high CPU load or slow rendering, a single frame of the menu might render before the script can apply the invisibility mask. This is rare and does not affect functionality.
Q: Does this work on VODs and Clips?
A: Yes, the script works on live streams, VODs (Video on Demand), and clips.
Rating: 0