Redirect to Invidious

Redirects YouTube videos to an Invidious instance.

Ajankohdalta 8.3.2024. Katso uusin versio.

Tekijä
Kugland
Arvostelut
0 0 0
Versio
0.3.1
Luotu
21.10.2023
Päivitetty
8.3.2024
Size
7,58 kt
Lisenssi
MIT
Käytössä

Invidious Redirect

Greasy Fork Version Greasy Fork Downloads Greasy Fork Rating Greasy Fork License

This userscript redirects YouTube videos to an Invidious instance.

GitHub page: https://github.com/kugland/invidious-redirect

Greasy Fork page: https://greasyfork.org/scripts/477967-redirect-to-invidious

Usage

To use this script, you'll need a userscript manager like Tampermonkey or Greasemonkey. You can install it from its page at GreasyFork, or by copying the contents of invidious-redirect.js into a new userscript.

Once the script is installed, it will automatically redirect YouTube videos to your Invidious instance when you click on a YouTube link. By default, the script is configured to redirect to https://yewtu.be, but you can change this by clicking on the Invidious icon at the bottom right corner of YouTube main page.

Using a custom Invidious instance

I assume that if you are going to use a custom Invidious instance, you are a so-called "power user", so just open the dev console and type:

localStorage.setItem('invidious-redirect-instance', 'http://127.0.0.1:8000');

Replacing, naturally, your custom Invidious instance URL.

License

This script is released under the MIT License. See the LICENSE file for details.