From f7d24b273bad5fc605225cfbdce89483230e6890 Mon Sep 17 00:00:00 2001 From: XMYSTERlOUSX <73080587+XMYSTERlOUSX@users.noreply.github.com> Date: Mon, 3 Oct 2022 18:18:04 +0530 Subject: [PATCH] Firefox Extensions! --- Aha Capture/background.js | 2 +- Aha Capture/manifest.json | 2 +- Altbalaji Capture/background.js | 2 +- Altbalaji Capture/manifest.json | 2 +- Clearkey Capture/background.js | 2 +- Jio Capture/background.js | 2 +- Jio Capture/manifest.json | 2 +- Learnyst Capture/background.js | 2 +- Mystry Capture/background.js | 4 ++-- PSSH Capture/background.js | 2 +- Voot Capture/background.js | 2 +- Voot Capture/manifest.json | 2 +- Zee5 Capture/background.js | 2 +- Zee5 Capture/manifest.json | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Aha Capture/background.js b/Aha Capture/background.js index 2748ebb..133285d 100644 --- a/Aha Capture/background.js +++ b/Aha Capture/background.js @@ -68,7 +68,7 @@ function requestToClipboard(tabId) { chrome.browserAction.setBadgeBackgroundColor({color: "#FF0000", tabId: details.id}); chrome.browserAction.setBadgeText({text: "📋", tabId: details.id}); - alert("The aha link and the mpd link and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); + console.log("The aha link and the mpd link and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); } gen_link.send(data); diff --git a/Aha Capture/manifest.json b/Aha Capture/manifest.json index b34a0c9..3dc3283 100644 --- a/Aha Capture/manifest.json +++ b/Aha Capture/manifest.json @@ -6,6 +6,6 @@ "manifest_version": 2, "name": "Aha Capture", "browser_action": {"default_icon": "icon128.png"}, - "permissions": [ "activeTab", "webRequest", "https://www.aha.video/*", "https://streaming-vod-aha.akamaized.net/*", "https://widevine-proxy.api.aha.firstlight.ai/*", "https://drm-bot.herokuapp.com/", "tabs", "clipboardWrite", "storage" ], + "permissions": [ "activeTab", "webRequest", "*://*/*", "tabs", "clipboardWrite", "storage" ], "version": "2.0" } \ No newline at end of file diff --git a/Altbalaji Capture/background.js b/Altbalaji Capture/background.js index d2febc4..b98d38e 100644 --- a/Altbalaji Capture/background.js +++ b/Altbalaji Capture/background.js @@ -68,7 +68,7 @@ function requestToClipboard(tabId) { chrome.browserAction.setBadgeBackgroundColor({color: "#FF0000", tabId: details.id}); chrome.browserAction.setBadgeText({text: "📋", tabId: details.id}); - alert("The altbalaji link and the mpd link and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot.\n\nIf you need to play this video on the site please remember to disable this extension and reload the page."); + console.log("The altbalaji link and the mpd link and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot.\n\nIf you need to play this video on the site please remember to disable this extension and reload the page."); } gen_link.send(data); diff --git a/Altbalaji Capture/manifest.json b/Altbalaji Capture/manifest.json index 76fc684..602b12c 100644 --- a/Altbalaji Capture/manifest.json +++ b/Altbalaji Capture/manifest.json @@ -6,6 +6,6 @@ "manifest_version": 2, "name": "Altbalaji Capture", "browser_action": {"default_icon": "icon128.png"}, - "permissions": [ "activeTab", "webRequest", "webRequestBlocking", "https://www.altbalaji.com/*", "https://cdn.cloud.altbalaji.com/*", "https://api.cloud.altbalaji.com/player/drm/widevine-modular", "https://api.cloud.altbalaji.com/media/videos/*", "https://drm-bot.herokuapp.com/", "tabs", "clipboardWrite", "storage" ], + "permissions": [ "activeTab", "webRequest", "webRequestBlocking", "*://*/*", "tabs", "clipboardWrite", "storage" ], "version": "2.0" } \ No newline at end of file diff --git a/Clearkey Capture/background.js b/Clearkey Capture/background.js index 006dd02..3978c56 100644 --- a/Clearkey Capture/background.js +++ b/Clearkey Capture/background.js @@ -30,7 +30,7 @@ function requestToClipboard(dataId, tabTd) { chrome.browserAction.setBadgeBackgroundColor({color: "#FF0000", tabId: tabTd}); chrome.browserAction.setBadgeText({text: "📋", tabId: tabTd}); - alert("The required data to download this clearkey video has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); + console.log("The required data to download this clearkey video has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); } gen_link.send(data); } diff --git a/Jio Capture/background.js b/Jio Capture/background.js index b5d495a..a5035cc 100644 --- a/Jio Capture/background.js +++ b/Jio Capture/background.js @@ -66,7 +66,7 @@ function requestToClipboard(tabId) { chrome.browserAction.setBadgeBackgroundColor({color: "#FF0000", tabId: tabId}); chrome.browserAction.setBadgeText({text: "📋", tabId: tabId}); - alert("The jio link and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot.\n\nIf you need to play this video on the site please remember to disable this extension and reload the page."); + console.log("The jio link and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot.\n\nIf you need to play this video on the site please remember to disable this extension and reload the page."); tabIDs[tabId].timeout_id = setTimeout(() => {chrome.browserAction.setBadgeText({text: "", tabId: tabId});}, 20000); } diff --git a/Jio Capture/manifest.json b/Jio Capture/manifest.json index bb0074d..372e797 100644 --- a/Jio Capture/manifest.json +++ b/Jio Capture/manifest.json @@ -6,6 +6,6 @@ "manifest_version": 2, "name": "Jio Capture", "browser_action": {"default_icon": "icon128.png"}, - "permissions": [ "activeTab", "webRequest", "https://www.jiocinema.com/*", "https://prod.media.jio.com/apis/common/v3/playbackrights/*", "https://prod.media.jio.com/proxy*", "https://drm-bot.herokuapp.com/", "tabs", "clipboardWrite", "storage" ], + "permissions": [ "activeTab", "webRequest", "*://*/*", "tabs", "clipboardWrite", "storage" ], "version": "2.0" } \ No newline at end of file diff --git a/Learnyst Capture/background.js b/Learnyst Capture/background.js index 7ac45c9..569f12a 100644 --- a/Learnyst Capture/background.js +++ b/Learnyst Capture/background.js @@ -67,7 +67,7 @@ function requestToClipboard(tabId) { chrome.browserAction.setBadgeBackgroundColor({color: "#FF0000", tabId: details.id}); chrome.browserAction.setBadgeText({text: "📋", tabId: details.id}); - alert("The mpd link and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); + console.log("The mpd link and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); } gen_link.send(data); diff --git a/Mystry Capture/background.js b/Mystry Capture/background.js index b7f846c..d40826c 100644 --- a/Mystry Capture/background.js +++ b/Mystry Capture/background.js @@ -67,7 +67,7 @@ function requestToClipboard(tabId) { chrome.browserAction.setBadgeBackgroundColor({color: "#FF0000", tabId: details.id}); chrome.browserAction.setBadgeText({text: "📋", tabId: details.id}); - alert("The mpd link and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); + console.log("The mpd link and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); } gen_link.send(data); @@ -126,5 +126,5 @@ function getLicenseRequestHeaders(details) { chrome.webRequest.onBeforeSendHeaders.addListener( getLicenseRequestHeaders, { urls: [""], types: ["xmlhttprequest"] }, - ["requestHeaders", "blocking", "extraHeaders"] + ["requestHeaders", "blocking"] ); \ No newline at end of file diff --git a/PSSH Capture/background.js b/PSSH Capture/background.js index 64d49df..4f4cc95 100644 --- a/PSSH Capture/background.js +++ b/PSSH Capture/background.js @@ -67,7 +67,7 @@ function requestToClipboard(tabId) { chrome.browserAction.setBadgeBackgroundColor({color: "#FF0000", tabId: details.id}); chrome.browserAction.setBadgeText({text: "📋", tabId: details.id}); - alert("The pssh and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); + console.log("The pssh and the generated link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); } gen_link.send(data); diff --git a/Voot Capture/background.js b/Voot Capture/background.js index a467005..77e58ba 100644 --- a/Voot Capture/background.js +++ b/Voot Capture/background.js @@ -67,7 +67,7 @@ function requestToClipboard(tabId) { chrome.browserAction.setBadgeBackgroundColor({color: "#FF0000", tabId: details.id}); chrome.browserAction.setBadgeText({text: "📋", tabId: details.id}); - alert("The required voot link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); + console.log("The required voot link of widevine license curl data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); } gen_link.send(data); diff --git a/Voot Capture/manifest.json b/Voot Capture/manifest.json index 6bda1d7..c23bc23 100644 --- a/Voot Capture/manifest.json +++ b/Voot Capture/manifest.json @@ -6,6 +6,6 @@ "manifest_version": 2, "name": "Voot Capture", "browser_action": {"default_icon": "icon128.png"}, - "permissions": [ "activeTab", "webRequest", "https://www.voot.com/*", "https://prod.media.jio.com/wvproxy*", "https://jiostreamingdash.akamaized.net/*", "https://drm-bot.herokuapp.com/", "tabs", "clipboardWrite", "storage" ], + "permissions": [ "activeTab", "webRequest", "*://*/*", "tabs", "clipboardWrite", "storage" ], "version": "3.0" } \ No newline at end of file diff --git a/Zee5 Capture/background.js b/Zee5 Capture/background.js index 4ac5fa3..030d9cb 100644 --- a/Zee5 Capture/background.js +++ b/Zee5 Capture/background.js @@ -60,7 +60,7 @@ function requestToClipboard(tabId) { chrome.browserAction.setBadgeBackgroundColor({color: "#FF0000", tabId: details.id}); chrome.browserAction.setBadgeText({text: "📋", tabId: details.id}); - alert("The required zee5 link's data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); + console.log("The required zee5 link's data has been copied to your clipboard successfully!\n\nNow go to https://t.me/drm_downloader_robot and paste it and send it to the bot."); } gen_link.send(data); diff --git a/Zee5 Capture/manifest.json b/Zee5 Capture/manifest.json index 53e11b7..0160169 100644 --- a/Zee5 Capture/manifest.json +++ b/Zee5 Capture/manifest.json @@ -6,6 +6,6 @@ "manifest_version": 2, "name": "Zee5 Capture", "browser_action": {"default_icon": "icon128.png"}, - "permissions": [ "activeTab", "webRequest", "https://www.zee5.com/", "https://spapi.zee5.com/singlePlayback/getDetails/*", "https://drm-bot.herokuapp.com/", "tabs", "clipboardWrite", "storage" ], + "permissions": [ "activeTab", "webRequest", "*://*/*", "tabs", "clipboardWrite", "storage" ], "version": "3.0" } \ No newline at end of file