diff --git a/.config/qutebrowser/greasemonkey/inv.js b/.config/qutebrowser/greasemonkey/inv.js new file mode 100644 index 0000000..f35fdb4 --- /dev/null +++ b/.config/qutebrowser/greasemonkey/inv.js @@ -0,0 +1,11 @@ +// ==UserScript== +// @name Invidious Proxy automatically +// @match *://*.inv.cochrun.xyv/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"; +}