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或关注我们的公众号极客氢云获取最新地址