Very useful script, the only thing that does not work is description auto expand. I recommend you use the following lines that work for me (script by makise-homura):
document.addEventListener('dom-change', function() { // Expand descriptions if (!document.getElementById('expand').hidden) {document.getElementById("expand").click();}
// Expand first part of comment subtrees //document.querySelectorAll("#more-replies.more-button").forEach(x => (function(x) {if (!x.hidden) {x.click();}})(x));
// Expand other parts of comment subtrees //document.querySelectorAll('ytd-button-renderer.style-scope.ytd-continuation-item-renderer').forEach(x => (function(x) {if (x.clientHeight > 0) {x.firstChild.firstChild.click();}})(x)); }, false);
Very useful script, the only thing that does not work is description auto expand. I recommend you use the following lines that work for me (script by makise-homura):
document.addEventListener('dom-change', function()
{
// Expand descriptions
if (!document.getElementById('expand').hidden) {document.getElementById("expand").click();}
// Expand comment text
//document.querySelectorAll("span.more-button.style-scope.ytd-comment-renderer").forEach(x => (function(x) {if (x.offsetParent != null) {x.click();}})(x));
// Expand first part of comment subtrees
//document.querySelectorAll("#more-replies.more-button").forEach(x => (function(x) {if (!x.hidden) {x.click();}})(x));
// Expand other parts of comment subtrees
//document.querySelectorAll('ytd-button-renderer.style-scope.ytd-continuation-item-renderer').forEach(x => (function(x) {if (x.clientHeight > 0) {x.firstChild.firstChild.click();}})(x));
}, false);