documentation/Always-use-"local"-to-proxy...

33 lines
1.0 KiB
Markdown
Raw Normal View History

2021-01-28 22:04:37 +01:00
---
title: Always-use-"local"-to-proxy-video-through-the-server-without-creating-an-account
description:
published: true
2021-05-23 19:01:19 +02:00
date: 2021-05-23T16:58:12.539Z
2021-01-28 22:04:37 +01:00
tags:
2021-03-14 18:15:53 +01:00
editor: markdown
2021-01-28 22:04:37 +01:00
dateCreated: 2021-01-28T20:38:58.736Z
---
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/)
2020-06-20 02:20:18 +02:00
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 *://*.redirect.invidious.io/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)) {
location.search += (location.search ? "&" : "?") + "local=true";
}
```
You can also enable this by checking `Proxy videos?` in your preferences.