Redirect YouTube Shorts video to normal video viewing.
当前为
// ==UserScript==
// @name YouTube Shorts To Normal Video
// @namespace https://github.com/tientq64/userscripts
// @version 1.0.0
// @description Redirect YouTube Shorts video to normal video viewing.
// @author tientq64
// @icon https://cdn-icons-png.flaticon.com/64/3670/3670147.png
// @match https://www.youtube.com/*
// @license MIT
// @grant none
// @noframes
// @homepage https://github.com/tientq64/userscripts/tree/main/scripts/YouTube-Shorts-To-Normal-Video
// ==/UserScript==
function redirect() {
const isShorts = location.pathname.startsWith('/shorts/')
if (isShorts) {
const newUrl = location.href.replace('/shorts/', '/watch?v=')
location.replace(newUrl)
}
}
document.addEventListener('yt-navigate-start', redirect)
redirect()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址