2019-07-30 20:45:48 +02: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 19:34:18 +01:00
|
|
|
|
2019-07-30 20:45:48 +02:00
|
|
|
Than add the following script in ViolentMonkey. It will always add `&local=true` to the end of the video url.
|
2019-01-25 19:34:18 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
// ==UserScript==
|
|
|
|
// @name Invidious Proxy automatically
|
|
|
|
// @match *://*.invidio.us/watch?v=*
|
|
|
|
// @run-at document-start
|
|
|
|
// @grant none
|
|
|
|
// ==/UserScript==
|
|
|
|
|
|
|
|
|
2019-07-30 20:31:27 +02:00
|
|
|
if (!(/[?&]local=/).test(location.search) && !(/[?&]quality=dash/).test(location.search)) {
|
2019-03-29 14:17:53 +01:00
|
|
|
location.search += (location.search ? "&" : "?") + "local=true";
|
2019-01-25 19:34:18 +01:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2019-03-29 14:18:28 +01:00
|
|
|
You can also enable this by checking `Proxy videos?` in your preferences.
|