Greasy Fork is available in English.

YouTube - Proper Description

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

< Feedback on YouTube - Proper Description

Review: Good - script works

§
Posted: 2023-07-16

how to auto expand description

q1kAuthor
§
Posted: 2023-07-16

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

§
Posted: 2023-07-16

how to auto expand description

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

q1kAuthor
§
Posted: 2023-07-16

how to auto expand description

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

mmkay

q1kAuthor
§
Posted: 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
    });
}

Post reply

Sign in to post a reply.