Raw Source
Kraust / Youtube Shorts Redirect

// ==UserScript==
// @name         Youtube Shorts Redirect
// @namespace    https://www.youtube.com
// @version      1.0
// @description  Youtube Shorts Redirect
// @license      MIT
// @author       Kraust
// @match        https://www.youtube.com/shorts/*
// @grant        none
// @updateURL    https://openuserjs.org/meta/Kraust/YoutubeShortsRedirect.meta.js
// ==/UserScript==

function redirect() {
  var url = "/watch?v=" + window.location.pathname.split("shorts/")[1];
  window.location.replace(url);
}

(function () {
  redirect();
})();