Prompt to accept youtube.com permission if video info fails to load

Should fix #698, #687, #611 and #635

(cherry picked from commit 3ff5fdb3a1)
This commit is contained in:
Ajay Ramachandran
2021-03-24 20:13:33 -04:00
parent abe3f0532a
commit bf84139ea7
9 changed files with 483 additions and 21 deletions

View File

@@ -37,6 +37,9 @@ chrome.runtime.onMessage.addListener(function (request, sender, callback) {
case "openHelp":
chrome.tabs.create({url: chrome.runtime.getURL('help/index_en.html')});
return;
case "openPage":
chrome.tabs.create({url: chrome.runtime.getURL(request.url)});
return;
case "sendRequest":
sendRequestToCustomServer(request.type, request.url, request.data).then(async (response) => {
callback({