NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Youtube Embed Redirect // @namespace https://www.youtube.com // @version 1.0 // @description Redirect Youtube Links to Embed Links // @license MIT // @copyright 2023, Kraust (https://openuserjs.org/users/Kraust) // @match https://www.youtube.com/watch?* // @match https://www.youtube.com/watch/* // @grant none // @updateURL https://openuserjs.org/meta/Kraust/Youtube_Embed_Redirect.meta.js // @downloadURL https://openuserjs.org/install/Kraust/Youtube_Embed_Redirect.user.js // ==/UserScript== function redirect() { var parms = new URLSearchParams(window.location.search); window.location = "/embed/" + parms.get("v"); } (function () { redirect(); })();