change redirect url in userscript (#136)

* change redirect url in script

* Apply needed changes

Co-authored-by: TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com>
This commit is contained in:
Guru 2021-10-03 17:06:22 +00:00 committed by GitHub
parent 7e272824b3
commit 0365e07803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ Than add the following script in ViolentMonkey. It will always add `&local=true`
``` ```
// ==UserScript== // ==UserScript==
// @name Invidious Proxy automatically // @name Invidious Proxy automatically
// @match *://*.invidio.us/watch?v=* // @match *://*.redirect.invidious.io/watch?v=*
// @run-at document-start // @run-at document-start
// @grant none // @grant none
// ==/UserScript== // ==/UserScript==
@ -29,4 +29,4 @@ if (!(/[?&]local=/).test(location.search) && !(/[?&]quality=dash/).test(location
} }
``` ```
You can also enable this by checking `Proxy videos?` in your preferences. You can also enable this by checking `Proxy videos?` in your preferences.