Support for manifest types!

This commit is contained in:
XMYSTERlOUSX 2022-10-23 08:04:55 +05:30 committed by GitHub
parent d5d005cf66
commit e8ffaace9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ function requestToClipboard(tabId) {
function getLicenseRequestData(details) { function getLicenseRequestData(details) {
tabIDs[details.tabId] = tabIDs[details.tabId] || {}; tabIDs[details.tabId] = tabIDs[details.tabId] || {};
if (details.url.includes(".mpd")) { if (details.url.includes(".mpd") || details.url.includes(".ism") || details.url.includes("manifest")) {
console.log(details.url); console.log(details.url);
tabIDs[details.tabId].mpd_url = details.url; tabIDs[details.tabId].mpd_url = details.url;
} else if (details.requestBody && details.requestBody.raw && details.method == "POST") { } else if (details.requestBody && details.requestBody.raw && details.method == "POST") {