You will need to install a user script manager extension to install this script.
You may also like Twitch - Disable empty "Featured Clips Only" page.
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
Since Firefox 109 you might also need to set
false in your
For Chrome you might need to set