1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

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';
}