你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/440613-youtube-proper-description/discussions/192597,源站連結 點此以跳轉

YouTube - Proper Description

Watch page description below the video with proper open/close toggle, instead of a side bar.

< 脚本 YouTube - Proper Description 的反馈

评价:好评 - 脚本运行良好

§
发布于:2023-07-16

how to auto expand description

q1k作者
§
发布于:2023-07-16

That is not a part of the script and never will be.

§
发布于:2023-07-16

how to auto expand description

That is not a part of the script and never will be.

q1k作者
§
发布于:2023-07-16

how to auto expand description

That is not a part of the script and never will be.

mmkay

q1k作者
§
发布于:2023-07-16

If you really want to have the description auto open, add this at the end of the script.

// auto open description
findElement("#meta ytd-expander").then(function(el){
    openDescription(el);
});
function openDescription(aed) {
    var mo = new MutationObserver(function(mutations) {
        if(aed.hasAttribute("collapsed")) {
            aed.removeAttribute("collapsed");
            //mo.disconnect();
        }
    });
    mo.observe(aed, {
        childList: true,
        subtree: true,
        characterData: true
    });
}

发布留言

登录以发布留言。