documentation/Always-use-"local"-to-proxy-video-through-the-server-without-creating-an-account.md
Allan Nordhøy f41d94dfa5 URL
2020-10-18 00:37:20 +02:00

819 B

Download ViolentMonkey for your Browser:
Firefox
Chrome and Chromium
Others

Than add the following script in ViolentMonkey. It will always add &local=true to the end of the video URL.

// ==UserScript==
// @name        Invidious Proxy automatically
// @match       *://*.invidio.us/watch?v=*
// @run-at      document-start
// @grant       none
// ==/UserScript==


if (!(/[?&]local=/).test(location.search) && !(/[?&]quality=dash/).test(location.search)) {
  location.search += (location.search ? "&" : "?") + "local=true";
}

You can also enable this by checking Proxy videos? in your preferences.