about summary refs log tree commit diff stats
path: root/background.js
diff options
context:
space:
mode:
Diffstat (limited to 'background.js')
-rw-r--r--background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background.js b/background.js
index ee90e8d0..f8519c6c 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