Auto expand channel list and Open channel showing video view

Auto expand the channel list after 3 seconds and after changing to a channel show video tab

Versión del día 3/10/2023. Echa un vistazo a la versión más reciente.

// ==UserScript==
// @name         Auto expand channel list and Open channel showing video view
// @namespace    https://greasyfork.org/en/users/254603-shurtmato
// @version      0.1
// @description  Auto expand the channel list after 3 seconds and after changing to a channel show video tab
// @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();
        $('a').click(function( event ){
            setTimeout( function(){
                $("#expander-item").click();
                $( "tp-yt-paper-tab" )[1].click();
                } , 1000 );
        });
    } , 3000 );
});