YouTube Shorts to Watch Redirect

Automatically redirects YouTube Shorts URLs to the standard watch page format, providing a cleaner viewing experience and enabling access to full video features like comments and descriptions.

当前为 2025-07-17 提交的版本,查看 最新版本

// ==UserScript==
// @name         YouTube Shorts to Watch Redirect
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  Automatically redirects YouTube Shorts URLs to the standard watch page format, providing a cleaner viewing experience and enabling access to full video features like comments and descriptions.
// @author       Tadaky
// @match        https://www.youtube.com/*
// @grant        none
// @license      MIT
// ==/UserScript==

(function () {
    'use strict';
    const pathParts = window.location.pathname.split('/');
    const videoId = pathParts[pathParts.length - 1];
    const params = window.location.search;
    window.location.replace(`https://www.youtube.com/watch?v=${videoId}${params}`);
})();