您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Force YouTube to Redirect to Normal Video instead of Shorts
- // ==UserScript==
- // @name YouTube Shorts Redirect
- // @description Force YouTube to Redirect to Normal Video instead of Shorts
- // @author 636597
- // @version 0.0.1
- // @match https://*.youtube.com/shorts/*
- // @run-at document-start
- // @namespace https://greasyfork.org/users/22755
- // ==/UserScript==
- // Example :
- // Replace : https://www.youtube.com/shorts/on_c_Aujobc
- // With : https://www.youtube.com/watch?v=on_c_Aujobc
- let shorts_url = window.location.href;
- let normal_url = shorts_url.replace( "shorts/" , "watch?v=" );
- window.location.replace( normal_url );