Ignore embedded videos for FreeTube redirects
This commit is contained in:
parent
24b0f9c01f
commit
c6f14ab139
|
@ -296,7 +296,7 @@ function redirectYouTube(url, initiator, type) {
|
||||||
if (onlyEmbeddedVideo && type !== "sub_frame") {
|
if (onlyEmbeddedVideo && type !== "sub_frame") {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (useFreeTube) {
|
if (useFreeTube && type !== "sub_frame") {
|
||||||
return `freetube://${url}`;
|
return `freetube://${url}`;
|
||||||
}
|
}
|
||||||
// Apply settings
|
// Apply settings
|
||||||
|
|
Loading…
Reference in New Issue