Greasy Fork

Greasy Fork is available in English.

Hide HDR support from YouTube

Hide HDR support for Firefox 69. v0.1 2019-10-10

目前为 2019-10-10 提交的版本。查看 最新版本

作者
Jefferson Scher
评分
0 0 0
版本
0.1
创建于
2019-10-10
更新于
2019-10-10
大小
1.3 KB
许可证
BSD-3-Clause
适用于

Intercepts isTypeSupported() calls by YouTube and lies about HDR support being available.


If this has no effect on yours, please edit the code above by removing the // on this line:

//console.log('testing for: '+ type);

Then, when you load a video, the script will dump out a list of all the different codecs YouTube is querying to the Web Console and you can look for other strings that might be more relevant to your system. I think the interesting ones with contain eotf so you can filter the Web Console on that as a first approximation.

Reference: https://developer.mozilla.org/docs/Tools/Web_Console