mirror of https://github.com/gorhill/uBlock.git
Update twitch scriptlet as suggested
Related discussion: - https://github.com/uBlockOrigin/uBlock-issues/issues/1789#issuecomment-969416887
This commit is contained in:
parent
d9f3d22edb
commit
b3f1f75389
|
@ -1580,9 +1580,6 @@
|
||||||
init.body.includes('"isVod":true') === false
|
init.body.includes('"isVod":true') === false
|
||||||
) {
|
) {
|
||||||
const { headers } = init;
|
const { headers } = init;
|
||||||
if ( typeof headers['Authorization'] === 'string' ) {
|
|
||||||
headers['Authorization'] = '';
|
|
||||||
}
|
|
||||||
if ( typeof headers['X-Device-Id'] === 'string' ) {
|
if ( typeof headers['X-Device-Id'] === 'string' ) {
|
||||||
headers['X-Device-Id'] = 'twitch-web-wall-mason';
|
headers['X-Device-Id'] = 'twitch-web-wall-mason';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue