diff options
Diffstat (limited to '.config/qutebrowser/userscripts/youtube-to-invidious.js')
-rw-r--r-- | .config/qutebrowser/userscripts/youtube-to-invidious.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/qutebrowser/userscripts/youtube-to-invidious.js b/.config/qutebrowser/userscripts/youtube-to-invidious.js new file mode 100644 index 0000000..b51c506 --- /dev/null +++ b/.config/qutebrowser/userscripts/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"); |