YouTube Shorts Redirect

Redirect to regular videos

  1. // ==UserScript==
  2. // @name YouTube Shorts Redirect
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Redirect to regular videos
  6. // @author Zach Kosove
  7. // @match https://www.youtube.com/*
  8. // @grant none
  9. // @run-at document-start
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
  11. // ==/UserScript==
  12.  
  13. const redirect = () => {
  14. if (location.pathname.startsWith('/shorts/')) {
  15. location.replace(location.href.replace('/shorts/', '/watch?v='));
  16. }
  17. };
  18.  
  19. redirect();
  20. document.addEventListener('yt-navigate-start', redirect);

QingJ © 2025

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