Maximizer For YouTube™

Maximizes the YouTube player to fill the entire browser viewport when in theater mode, plus a few other enhancements.

< 腳本Maximizer For YouTube™的回應

評論:普通 - 腳本能使用,但有一些問題

§
發表於:2023-11-10

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);

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址