# How to automatically redirect youtube links to invidious :)

**URL:** <https://community.brave.app/t/how-to-automatically-redirect-youtube-links-to-invidious/433743>\
**Category:** Mobile Support\
**Tags:** android\
**Created:** [September 22, 2022, 2:05pm UTC](https://community.brave.app/t/how-to-automatically-redirect-youtube-links-to-invidious/433743 "2022-09-22T14:05:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Db01](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/db01/32/54634_2.png) [@Db01](https://community.brave.app/u/Db01)\
**Post date:** [September 22, 2022, 2:05pm UTC](https://community.brave.app/t/how-to-automatically-redirect-youtube-links-to-invidious/433743/1 "2022-09-22T14:05:58Z")

</div>

Hi everyone.

I am a de-googler so do not have the youtube client on my phone and really dislike using the youtube website as well.  
When I open youtube links in brave though, they go to the official youtube site. 😕

I’d really like youtube links to (optionally) be automatically re-directed to invidious (an open source privacy-friendly youtube frontend).

This also would allow for [reddit.com](http://reddit.com) to be redirected to [old.reddit.com](http://old.reddit.com) or [teddit.net](http://teddit.net).

The primary reasons why I prefer invidious to youtube and these above clients to [reddit.com](http://reddit.com) are:

- [Youtube.com](http://Youtube.com) has lots of distracting/time wasting algorithmically recommended content/click bait, which can be disabled on invidious
- [reddit.com](http://reddit.com) intentionally degrades the mobile experience using annoying pop-ups as well as blocking certain subreddits from being access without the app
- [reddit.com](http://reddit.com) is slower and more bloated than [old.reddit.com](http://old.reddit.com) and [teddit.net](http://teddit.net)
- [youtube.com](http://youtube.com) doesn’t support background playback on mobile so brave has to use the desktop version as a hack, which causes often results in vidios restarting and is hard to use.
- [youtube.com](http://youtube.com) and [reddit.com](http://reddit.com) have trackers/data collection which invidious and teddit do not have

An example of such an invidious instance is [vid.puffyan.us](http://vid.puffyan.us).

I noticed that [this feature has been added on brave ios](https://nitter.kavin.rocks/brave/status/1552063664920100864#m), so I’d imagine a lot of the work to integrate it into android is already complete.  
There are also a lot of people in this twitter thread asking when it will be added to android, showing clear demand.

There are also many people in this brave browser github issue who would like this feature added to android: [https://github.com/brave/brave-browser/issues/20924](https://github.com/brave/brave-browser/issues/20924)

On brave desktop this can be achieved via popular extensions such as the following:

> **[Privacy Redirect](https://chrome.google.com/webstore/detail/privacy-redirect/pmcmeagblkinmogikoikkdjiligflglb?hl=en)**
>
> Redirects Twitter, YouTube, Instagram and more to privacy friendly alternatives.

> **[Nitter Redirect](https://chrome.google.com/webstore/detail/nitter-redirect/mohaicophfnifehkkkdbcejkflmgfkof?hl=en)**
>
> Redirects Twitter requests to Nitter, the privacy friendly alternative.

Thank you very much. I really look forward to this feature being added as soon as possible! Otherwise I might have to consider some browsers such as kiwi which support the above chrome extensions but are inferior to brave in many other ways ☹

Regards  
Db01

---

<div class="post-metadata">

**Author:** ![chh\_68](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@chh\_68](https://community.brave.app/u/chh_68)\
**Post date:** [October 20, 2022, 4:53am UTC](https://community.brave.app/t/how-to-automatically-redirect-youtube-links-to-invidious/433743/2 "2022-10-20T04:53:10Z")

</div>

> <https://github.com/brave/brave-browser/issues/20924>
>
> Brave Browser can integrate/imbed Privacy redirect extension (code) into the bro…wser. The feature will redirect to front-ends of various sites. Eg, Youtube to invidious.kavin.rocks site.
> 
> https://github.com/SimonBrazell/privacy-redirect
> https://chrome.google.com/webstore/detail/privacy-redirect/pmcmeagblkinmogikoikkdjiligflglb
> 
> 1.) By default, the feature will be strictly off. 
> 2.) Users can opt-in to the feature by a simple On/Off toggle.
> 3.) If users opt-in, the by default it will select a front-end site from the list. The default selected site will be chosen based on uptime, as a lot of them go down from time to time. Eg, kavin(dot)rocks affiliated instance are known to be available overall.
> 4.) The settings for this feature will be placed in brave://settings/socialBlocking
> 
> An example of how redirection will happen for opt-in users.
> 1.) User visits a site which has a youtube link for a video.
> 2.) The user clicks on the link to watch the video on youtube.
> 3.) But, instead of visiting youtube site from browser, he visits invidious.kavin.rocks and watches the video as he normally would do on youtube.
> 4.) Eg:- Youtube Link for video made by Brave https://youtu.be/fiXaHv\_9rmQ, and it's front-ends https://invidious.kavin.rocks/watch?v=fiXaHv\_9rmQ or https://yewtu.be/watch?v=fiXaHv\_9rmQ
> 
> Examples of front-ends:-
> 1.) Youtube:- invidious.kavin.rocks, yewtu.be. Main site:-invidio.us which aggregates all instances
> 2.) Twitter:- nitter.kavin.rocks, nitter.net etc
> 3.) Instagram:- biblogram.art
> 4.) Reddit:- teddit,net, libredd.it etc
> 5.) Medium:- scribe.rip
> 6.) Etc
>  
> Full Lists:-
> https://github.com/digitalblossom/alternative-frontends
> https://github.com/mendel5/alternative-front-ends
> 
> Later on, it can also be integrated into android brave browser. Currently, this extension cannot be used on android, as brave does not support any extensions (like kiwi). In Firefox Stable, 10 extensions are available by default (eg, UBO) but does not include this particular one. A user can integrate it on Firefox Nightly, but it has its own tedious process to do it.
>  
> A similar extension but not focused on privacy redirection feature:-
> https://github.com/einaregilsson/Redirector
>  
> Images-
>  
> !\[image1githubissue5\](https://user-images.githubusercontent.com/96620334/152736089-75bd4ef7-9df4-4449-99fe-395fc031feb3.png)
> !\[image2githubbraveissue5\](https://user-images.githubusercontent.com/96620334/152736098-767130a5-7f8f-4db8-8cd5-0a4de9f9394c.png)
> !\[image3githubbraveissue5\](https://user-images.githubusercontent.com/96620334/152736109-6eed0371-488b-4794-a953-f700b7f59a7f.png)
> !\[image4githubbraveissue5\](https://user-images.githubusercontent.com/96620334/152736113-0d820a2f-e083-4d4d-a7c3-b30df896b73f.png)
> !\[image6githubraveissue5\](https://user-images.githubusercontent.com/96620334/152736115-f8a12ec7-1d27-47a1-b99e-284ab1eee2df.png)
> !\[image7githubbraveissue5\](https://user-images.githubusercontent.com/96620334/152736117-0106001d-7f44-42ae-83dd-ab846056a23c.png)
> !\[image8githubbraveissue5\](https://user-images.githubusercontent.com/96620334/152736118-04255af5-2984-4524-abee-4fea13f3421b.png)

There is a detailed issue open for this on github.

According to the iOS dev, it will likely not be available [https://nitter.poast.org/buccifreestyle/status/1552069946137616391#m](https://nitter.poast.org/buccifreestyle/status/1552069946137616391#m)

On android, you can use Untrack Me from fdroid. [https://f-droid.org/en/packages/app.fedilab.nitterizeme/](https://f-droid.org/en/packages/app.fedilab.nitterizeme/)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/brave/original/3X/1/8/182067f3480d1a5e7aea5ae3131b116ca1ef7918.png) [@system](https://community.brave.app/u/system)\
**Post date:** [November 19, 2022, 4:53am UTC](https://community.brave.app/t/how-to-automatically-redirect-youtube-links-to-invidious/433743/3 "2022-11-19T04:53:49Z")

</div>

Closed on November 19, 2022, 4:53am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
