Hide HDR support from YouTube

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

Tác giả
Jefferson Scher
Cài đặt hàng ngày
0
Số lần cài đặt
87
Đánh giá
0 0 0
Phiên bản
0.1
Đã tạo
10-10-2019
Đã cập nhật
10-10-2019
Size
1 KB
Giấy phép
BSD-3-Clause
Áp dụng cho

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


If this has no effect on yours, please edit the code of the script 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 checking for to the Web Console.

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

I think the interesting ones will contain eotf so you can filter the Web Console on that as a first approximation.