2021-01-28 21:04:37 +00:00
|
|
|
---
|
|
|
|
title: Always-use-"local"-to-proxy-video-through-the-server-without-creating-an-account
|
|
|
|
description:
|
|
|
|
published: true
|
2021-02-25 18:14:04 +00:00
|
|
|
date: 2021-02-25T18:04:35.147Z
|
2021-01-28 21:04:37 +00:00
|
|
|
tags:
|
2021-03-14 17:15:53 +00:00
|
|
|
editor: markdown
|
2021-01-28 21:04:37 +00:00
|
|
|
dateCreated: 2021-01-28T20:38:58.736Z
|
|
|
|
---
|
|
|
|
|
2019-07-30 18:45:48 +00: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 18:34:18 +00:00
|
|
|
|
2020-06-20 00:20:18 +00:00
|
|
|
Than add the following script in ViolentMonkey. It will always add `&local=true` to the end of the video URL.
|
2019-01-25 18:34:18 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
// ==UserScript==
|
|
|
|
// @name Invidious Proxy automatically
|
|
|
|
// @match *://*.invidio.us/watch?v=*
|
|
|
|
// @run-at document-start
|
|
|
|
// @grant none
|
|
|
|
// ==/UserScript==
|
|
|
|
|
|
|
|
|
2019-07-30 18:31:27 +00:00
|
|
|
if (!(/[?&]local=/).test(location.search) && !(/[?&]quality=dash/).test(location.search)) {
|
2019-03-29 13:17:53 +00:00
|
|
|
location.search += (location.search ? "&" : "?") + "local=true";
|
2019-01-25 18:34:18 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2019-03-29 13:18:28 +00:00
|
|
|
You can also enable this by checking `Proxy videos?` in your preferences.
|