2021-11-09 21:45:50 +01:00
|
|
|
// ==UserScript==
|
|
|
|
// @name Invidious Redirect
|
|
|
|
// @include http://www.youtube.com/*
|
|
|
|
// @include https://www.youtube.com/*
|
2021-12-05 19:22:00 +01:00
|
|
|
// @include https://www.youtube-nocookie.com/*
|
2021-11-09 21:45:50 +01:00
|
|
|
// @run-at document-start
|
|
|
|
// ==/UserScript==
|
|
|
|
|
|
|
|
document.close();
|
2021-12-05 19:22:00 +01:00
|
|
|
window.location.replace(window.location.href.replace(/www\.youtube(-nocookie)?\.com/, "iv.sbruder.xyz").replace("/shorts/", "/watch?v="))
|