Update background.js
This commit is contained in:
parent
e8ffaace9a
commit
f57edc7fb7
|
@ -136,7 +136,7 @@ function getLicenseRequestHeaders(details) {
|
||||||
|
|
||||||
// Some license requests can hold one time token values in their headers or payload. So blocking such requests before they are sent to the server and capturing them!
|
// Some license requests can hold one time token values in their headers or payload. So blocking such requests before they are sent to the server and capturing them!
|
||||||
// If your license request also holds one time values add them in the below line, seprating by an || operator. Remember to disable the extension if you actually need to play the video of these services!
|
// If your license request also holds one time values add them in the below line, seprating by an || operator. Remember to disable the extension if you actually need to play the video of these services!
|
||||||
if (details.url.includes("api2.hbogoasia.com/onwards-widevine") || details.requestHeaders.includes("prepladder.com") || details.url.includes("scvm1sc0.anycast.nagra.com")) {
|
if (details.url.includes("api2.hbogoasia.com/onwards-widevine") || details.requestHeaders.includes("prepladder.com") || details.url.includes("scvm1sc0.anycast.nagra.com") || details.url.includes("wvls/contentlicenseservice/v1/licenses") || details.url.includes("license.vdocipher.com/auth")) {
|
||||||
return { cancel: true };
|
return { cancel: true };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -153,4 +153,4 @@ chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
||||||
tabIDs[sender.tab.id] = tabIDs[sender.tab.id] || {};
|
tabIDs[sender.tab.id] = tabIDs[sender.tab.id] || {};
|
||||||
tabIDs[sender.tab.id] = {license_data: "", license_request: [], license_url: "", req_id: "", pssh: request};
|
tabIDs[sender.tab.id] = {license_data: "", license_request: [], license_url: "", req_id: "", pssh: request};
|
||||||
console.log(`PSSH:- ${tabIDs[sender.tab.id].pssh}`);
|
console.log(`PSSH:- ${tabIDs[sender.tab.id].pssh}`);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue