documentation/Always-use-"local"-to-proxy-video-through-the-server-without-creating-an-account.md
2021-01-28 21:04:37 +00:00

1 KiB

title description published date tags editor dateCreated
Always-use-"local"-to-proxy-video-through-the-server-without-creating-an-account true 2021-01-28T21:00:07.920Z undefined 2021-01-28T20:38:58.736Z

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.