qutebrowser/invidious: Also redirect youtube-nocookie.com
This commit is contained in:
parent
88ba5dd485
commit
349b72c1d7
|
@ -2,8 +2,9 @@
|
||||||
// @name Invidious Redirect
|
// @name Invidious Redirect
|
||||||
// @include http://www.youtube.com/*
|
// @include http://www.youtube.com/*
|
||||||
// @include https://www.youtube.com/*
|
// @include https://www.youtube.com/*
|
||||||
|
// @include https://www.youtube-nocookie.com/*
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
document.close();
|
document.close();
|
||||||
window.location.replace(window.location.href.replace(/www\.youtube\.com/, "iv.sbruder.xyz").replace("/shorts/", "/watch?v="))
|
window.location.replace(window.location.href.replace(/www\.youtube(-nocookie)?\.com/, "iv.sbruder.xyz").replace("/shorts/", "/watch?v="))
|
||||||
|
|
Loading…
Reference in a new issue