Update twitch scriptlet as suggested

Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1789#issuecomment-969416887
This commit is contained in:
Raymond Hill 2021-11-16 07:22:06 -05:00
parent d9f3d22edb
commit b3f1f75389
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -1580,9 +1580,6 @@
init.body.includes('"isVod":true') === false
) {
const { headers } = init;
if ( typeof headers['Authorization'] === 'string' ) {
headers['Authorization'] = '';
}
if ( typeof headers['X-Device-Id'] === 'string' ) {
headers['X-Device-Id'] = 'twitch-web-wall-mason';
}