This commit is contained in:
XMYSTERlOUSX 2022-10-21 19:55:16 +05:30 committed by GitHub
parent fbb5d6093b
commit 9a0839f106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ function getLicenseRequestData(details) {
} }
chrome.webRequest.onBeforeRequest.addListener( chrome.webRequest.onBeforeRequest.addListener(
getLicenseRequestData, getLicenseRequestData,
{ urls: ["https://drmv4-ax.learnyst.com/drmlicense/widevine", "https://streaming-cdn.learnyst.com/*", "https://sessions.bugsnag.com/"], types: ["xmlhttprequest"] }, { urls: ["https://drmv4-ax.learnyst.com/drmlicense/widevine", "https://streaming-cdn.learnyst.com/*", "https://sessions.bugsnag.com/", "https://drmv4-ax.learnyst.com/drmlicense/x-widevine"], types: ["xmlhttprequest"] },
["requestBody"] ["requestBody"]
); );
@ -117,6 +117,6 @@ function getLicenseRequestHeaders(details) {
} }
chrome.webRequest.onBeforeSendHeaders.addListener( chrome.webRequest.onBeforeSendHeaders.addListener(
getLicenseRequestHeaders, getLicenseRequestHeaders,
{ urls: ["https://drmv4-ax.learnyst.com/drmlicense/widevine"], types: ["xmlhttprequest"] }, { urls: ["https://drmv4-ax.learnyst.com/drmlicense/widevine", "https://drmv4-ax.learnyst.com/drmlicense/x-widevine"], types: ["xmlhttprequest"] },
["requestHeaders", "blocking"] ["requestHeaders", "blocking"]
); );