From c6f14ab139247753625c797ddf87415a28c0cbc6 Mon Sep 17 00:00:00 2001 From: SimonBrazell Date: Wed, 4 Nov 2020 22:15:07 +1100 Subject: [PATCH] Ignore embedded videos for FreeTube redirects --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index ee90e8d..f8519c6 100644 --- a/background.js +++ b/background.js @@ -296,7 +296,7 @@ function redirectYouTube(url, initiator, type) { if (onlyEmbeddedVideo && type !== "sub_frame") { return null; } - if (useFreeTube) { + if (useFreeTube && type !== "sub_frame") { return `freetube://${url}`; } // Apply settings