Skip to content

Commit 35fd23b

Browse files
authored
Merge pull request #117 from acdasdcasdcasdcasdc/feature/youtube-sni-relay
Feature/youtube sni relay
2 parents f0440a0 + fcd5e23 commit 35fd23b

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎src/bin/ui.rs‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,19 @@ impl eframe::App for App {
924924
Credit: seramo_ir + Persian Python community (issue #16).",
925925
);
926926
});
927+
ui.horizontal(|ui| {
928+
ui.add_space(120.0 + 8.0);
929+
ui.checkbox(
930+
&mut self.form.youtube_via_relay,
931+
"Send YouTube through relay (no SNI rewrite)",
932+
)
933+
.on_hover_text(
934+
"YouTube normally uses the same direct Google-edge tunnel as google.com (TLS SNI is \
935+
the front domain, not youtube.com). That can trigger restricted mode or sign-out \
936+
prompts. Enable this to route youtube.com / youtu.be / ytimg.com through the Apps \
937+
Script relay instead — slower for video, but the visible SNI matches the site.",
938+
);
939+
});
927940
});
928941
});
929942

0 commit comments

Comments
 (0)