Disables the automatic downscaling of Twitch streams while tabbed away
< 脚本Twitch - Disable automatic video downscale的反馈
It looks like the following lines should also be added for handling hidden for each browser type. Not sure if these still apply or if more recent browser updates make them unnecessary.Object.defineProperty(document, 'mozHidden', {value: false, writable: false});Object.defineProperty(document, 'webkitHidden', {value: false, writable: false});
Thanks! I guess it doesn't hurt to add them so I did in 1.0.4
登录以发表回复。
It looks like the following lines should also be added for handling hidden for each browser type. Not sure if these still apply or if more recent browser updates make them unnecessary.
Object.defineProperty(document, 'mozHidden', {value: false, writable: false});
Object.defineProperty(document, 'webkitHidden', {value: false, writable: false});