YouTube Shorts Redirect

Force YouTube to Redirect to Normal Video instead of Shorts

  1. // ==UserScript==
  2. // @name YouTube Shorts Redirect
  3. // @description Force YouTube to Redirect to Normal Video instead of Shorts
  4. // @author 636597
  5. // @version 0.0.1
  6. // @match https://*.youtube.com/shorts/*
  7. // @run-at document-start
  8. // @namespace https://greasyfork.org/users/22755
  9. // ==/UserScript==
  10.  
  11. // Example :
  12. // Replace : https://www.youtube.com/shorts/on_c_Aujobc
  13. // With : https://www.youtube.com/watch?v=on_c_Aujobc
  14.  
  15. let shorts_url = window.location.href;
  16. let normal_url = shorts_url.replace( "shorts/" , "watch?v=" );
  17. window.location.replace( normal_url );