aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/content.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content.ts')
-rw-r--r--src/content.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts
index 1eaea00e..fcfe832f 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -258,7 +258,7 @@ async function videoIDChange(id) {
try {
await utils.wait(() => !!videoInfo, 5000, 1);
} catch (err) {
- alert(chrome.i18n.getMessage("adblockerIssue"));
+ alert(chrome.i18n.getMessage("adblockerIssue") + "\n\n" + chrome.i18n.getMessage("adblockerIssueUnlistedVideosInfo"));
}
if (isUnlisted()) {
@@ -719,6 +719,7 @@ async function getVideoInfo(): Promise<void> {
const decodedData = decodeURIComponent(result.responseText).match(/player_response=([^&]*)/)[1];
if (!decodedData) {
console.error("[SB] Failed at getting video info from YouTube.");
+ console.error("[SB] Data returned from YouTube: " + result.responseText);
return;
}