2022-03-12 17:34:15 -05:00
|
|
|
# Always use "local" to proxy video through the server without creating an account
|
2021-01-28 16:04:37 -05:00
|
|
|
|
2022-01-04 11:42:52 -05:00
|
|
|
Download ViolentMonkey for your Browser:
|
|
|
|
[Firefox](https://addons.mozilla.org/en-US/firefox/addon/violentmonkey/)
|
|
|
|
[Chrome and Chromium](https://chrome.google.com/webstore/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag)
|
|
|
|
[Others](https://violentmonkey.github.io/get-it/)
|
2019-01-25 13:34:18 -05:00
|
|
|
|
2020-06-19 20:20:18 -04:00
|
|
|
Than add the following script in ViolentMonkey. It will always add `&local=true` to the end of the video URL.
|
2019-01-25 13:34:18 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
// ==UserScript==
|
|
|
|
// @name Invidious Proxy automatically
|
2021-10-03 13:06:22 -04:00
|
|
|
// @match *://*.redirect.invidious.io/watch?v=*
|
2019-01-25 13:34:18 -05:00
|
|
|
// @run-at document-start
|
|
|
|
// @grant none
|
|
|
|
// ==/UserScript==
|
|
|
|
|
|
|
|
|
2019-07-30 14:31:27 -04:00
|
|
|
if (!(/[?&]local=/).test(location.search) && !(/[?&]quality=dash/).test(location.search)) {
|
2019-03-29 09:17:53 -04:00
|
|
|
location.search += (location.search ? "&" : "?") + "local=true";
|
2019-01-25 13:34:18 -05:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2021-10-03 13:06:22 -04:00
|
|
|
You can also enable this by checking `Proxy videos?` in your preferences.
|