您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto expand the channel list after 3 seconds and change to channel video tab after entering a channel
- // ==UserScript==
- // @name Auto expand channel list and Open channel showing video view
- // @namespace https://greasyfork.org/en/users/254603-shurtmato
- // @version 0.3.5
- // @description Auto expand the channel list after 3 seconds and change to channel video tab after entering a channel
- // @author Shurtmato
- // @match https://www.youtube.com/*
- // @require https://code.jquery.com/jquery-3.7.0.min.js
- // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
- // @grant none
- // @license MIT
- // ==/UserScript==
- /* global $ */
- /* global jQuery */
- $( document ).ready(function() {
- setTimeout( function(){
- $("#expander-item").click();
- //$(".ytd-guide-collapsible-entry-renderer").eq(0).click();
- $('#sections a').click(function( event ){
- setTimeout( function(){
- $(".ytd-guide-collapsible-entry-renderer").eq(0).click();
- $( "#tabsContent" ).children().eq(1).children().eq(0).children().eq(1).click();
- } , 1000 );
- });
- } , 3000 );
- });