// ==UserScript== // @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(-nocookie)?\.com/, "iv.sbruder.xyz").replace("/shorts/", "/watch?v="))