forked from leftypol/leftypol
youtube.js: remove broken onion proxy
This commit is contained in:
parent
d8cafc8fd8
commit
89d79a5278
1 changed files with 1 additions and 5 deletions
|
@ -27,11 +27,7 @@ $(document).ready(function() {
|
|||
|
||||
// Adds Options panel item.
|
||||
if (typeof localStorage.youtube_embed_proxy === 'undefined') {
|
||||
if (location.hostname.includes('.onion')){
|
||||
localStorage.youtube_embed_proxy = 'tuberyps2pn6dor6h47brof3w2asmauahhk4ei42krugybzzzo55klad.onion';
|
||||
} else {
|
||||
localStorage.youtube_embed_proxy = 'incogtube.com'; // Default value.
|
||||
}
|
||||
localStorage.youtube_embed_proxy = 'incogtube.com'; // Default value.
|
||||
}
|
||||
|
||||
if (window.Options && Options.get_tab('general')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue