您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Redirects the channel from featured to videos tab. Only for direct URL access.
// ==UserScript== // @name YouTube - Channel redirector // @description Redirects the channel from featured to videos tab. Only for direct URL access. // @namespace var512 // @author var512 // @version 1.0.0 // @supportURL https://gitlab.com/var512 // @supportURL https://github.com/var512 // @include /^https?:\/\/(www\.)?youtube\.com\/(channel|user)\/([a-zA-Z0-9_-]+)\/?(featured)?$/ // @icon https://youtube.com/favicon.ico // @license MIT // @noframes // @grant none // @run-at document-start // ==/UserScript== (() => { 'use strict'; window.stop(); const newUrl = document.URL.replace(/(\/featured)?(\/)?$/, ''); window.location.replace(`${newUrl}/videos`); })();