Twitch - Disable automatic video downscale

Disables the automatic downscaling of Twitch streams while tabbed away

Author
Taizun and CommanderRoot
Daily installs
14
Total installs
24,199
Ratings
32 5 3
Version
1.0.5
Created
2019-05-16
Updated
2024-02-22
License
Unlicense
Applies to

This script tricks the tab into thinking it is visible, thus preventing the stream-quality from changing/downscaling as it would normally do 60 seconds after having switched to a different tab.

Thanks to CommanderRoot for maintaining this script since version 1.0.1

Update:
Since Firefox 109 you might also need to set widget.windows.window_occlusion_tracking.enabled to false in your about:config settings.
For Chrome you might need to set chrome://flags/#calculate-native-win-occlusion to Disabled