Youtube to Invidious Redirector

Redirect youtube to invidious, a free and open source alternative

  1. // ==UserScript==
  2. // @name Youtube to Invidious Redirector
  3. // @namespace https://github.com/shmup/redirect-userscripts
  4. // @version 1.1
  5. // @description Redirect youtube to invidious, a free and open source alternative
  6. // @author shmup
  7. // @match https://www.youtube.com/*
  8. // @match https://youtube.com/*
  9. // @grant none
  10. // @run-at document-start
  11. // @license Unlicense
  12. // ==/UserScript==
  13.  
  14. /**
  15. * Privacy focused. Ethically designed. No Accounts. Multilingual. No Ads.
  16. *
  17. * https://invidious.io/
  18. * https://github.com/iv-org/invidious
  19. **/
  20.  
  21. (function() {
  22. 'use strict';
  23. const newURL = new URL(window.location.href);
  24. newURL.hostname = 'yewtu.be';
  25. window.location.replace(newURL.toString());
  26. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址