summaryrefslogtreecommitdiff
path: root/.config/qutebrowser/greasemonkey/youtube-to-invidious.js
diff options
context:
space:
mode:
Diffstat (limited to '.config/qutebrowser/greasemonkey/youtube-to-invidious.js')
-rw-r--r--.config/qutebrowser/greasemonkey/youtube-to-invidious.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/qutebrowser/greasemonkey/youtube-to-invidious.js b/.config/qutebrowser/greasemonkey/youtube-to-invidious.js
new file mode 100644
index 0000000..b51c506
--- /dev/null
+++ b/.config/qutebrowser/greasemonkey/youtube-to-invidious.js
@@ -0,0 +1,11 @@
+// ==UserScript==
+// @name YouTube to Invidious redirector
+// @namespace lxf userscripts
+// @match http://youtube.com/*
+// @match https://youtube.com/*
+// @match http://www.youtube.com/*
+// @match https://www.youtube.com/*
+// @run-at document-start
+// ==/UserScript==
+
+location.href=location.href.replace("www.youtube.com","invidious.fdn.fr");