Redirect to Invidious

Redirects YouTube videos to an Invidious instance.

От 08.03.2024. Виж последната версия.

Автор
Kugland
Рейтинг
0 0 0
Версия
0.3.1
Създаден
21.10.2023
Обновен
08.03.2024
Размер
8 КБ
Лиценз
MIT
Работи на

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.