qutebrowser/invidious: Also redirect youtube-nocookie.com
This commit is contained in:
parent
88ba5dd485
commit
349b72c1d7
|
@ -2,8 +2,9 @@
|
|||
// @name Invidious Redirect
|
||||
// @include http://www.youtube.com/*
|
||||
// @include https://www.youtube.com/*
|
||||
// @include https://www.youtube-nocookie.com/*
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
||||
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