Youtube - Auto Expand Video Description

Youtube Auto Expand Video Description! YT自动展开视频描述详细!

// ==UserScript==
// @name         Youtube - Auto Expand Video Description
// @namespace    http://tampermonkey.net/
// @version      2.6
// @description  Youtube Auto Expand Video Description! YT自动展开视频描述详细!
// @author       Martin______X
// @match        https://www.youtube.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant        none
// @license      MIT
// ==/UserScript==

let _$videoId = "";
//Async
const simpleClick = (async (obj) => {
    obj.click();
});
//Loop
const videoIdCheckDesInterval = setInterval(() => {
    try{
        let video_des = document.getElementsByClassName("watch-active-metadata style-scope ytd-watch-flexy style-scope ytd-watch-flexy")[0];
        let videoId = "";
        if (video_des) {
            videoId = video_des.getAttribute("video-id");
        }
        if (_$videoId != videoId) {
            let expand = video_des.querySelector("#expand");
            let collapse = video_des.querySelector("#collapse");
            simpleClick(expand);
            if (collapse.checkVisibility()) {
                console.warn("Description Expanded!");
                _$videoId = videoId;
            }
        }
    }catch(error){
        //console.error(error);
    }
}, 1);