Ignore embedded videos for FreeTube redirects

This commit is contained in:
SimonBrazell 2020-11-04 22:15:07 +11:00
parent 24b0f9c01f
commit c6f14ab139
1 changed files with 1 additions and 1 deletions

View File

@ -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