From 9a0839f106dc0e5c6d5321c44aa608f932cb3b63 Mon Sep 17 00:00:00 2001 From: XMYSTERlOUSX <73080587+XMYSTERlOUSX@users.noreply.github.com> Date: Fri, 21 Oct 2022 19:55:16 +0530 Subject: [PATCH] Fix 2 --- Learnyst Capture/background.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Learnyst Capture/background.js b/Learnyst Capture/background.js index fd8c862..4ca907a 100644 --- a/Learnyst Capture/background.js +++ b/Learnyst Capture/background.js @@ -102,7 +102,7 @@ function getLicenseRequestData(details) { } chrome.webRequest.onBeforeRequest.addListener( 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"] ); @@ -117,6 +117,6 @@ function getLicenseRequestHeaders(details) { } chrome.webRequest.onBeforeSendHeaders.addListener( 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"] );