您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add a link to expand YouTube Community comment contents and replies
// ==UserScript== // @name Add Link To Expand YouTube Community Comments // @version 1.1 // @namespace AddLinkToExpandYouTubeCommunityComments // @description Add a link to expand YouTube Community comment contents and replies // @author jcunews // @include https://www.youtube.com/comments* // ==/UserScript== function expandCommentsInPage() { var i, eles = document.querySelectorAll('#yt-comments-list .comment-entry'), ele; for (i = eles.length-1; i >= 0; i--) { ele = eles[i].querySelector(".expand"); if (ele) { eles[i].click(); } ele = eles[i].querySelector(".show-more"); if (ele) { eles[i].click(); } } } var btn = document.createElement("A"); btn.textContent = "Expand All Comments"; btn.style = "margin-left:2ex"; btn.href="javascript:void(0)"; btn.onclick = expandCommentsInPage; document.querySelector("#ytch-root .tabs-container").appendChild(btn);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址