Return of the YouTube Dislike, Based off https://www.returnyoutubedislike.com/
< 腳本Return YouTube Dislike的回應
For whatever reason it stopped finding button with querySelector off the parent element.
Until fixed workaround is to hardcode button location in getDislikeTextContainer. Replace all content of getDislikeTextContainer function with.
let result = document.querySelector("#segmented-dislike-button > ytd-toggle-button-renderer > yt-button-shape > button > #text"); if (result === null) { let textSpan = document.createElement("span"); textSpan.id = "text"; textSpan.style.marginLeft = "2px"; let button = document.querySelector("#segmented-dislike-button > ytd-toggle-button-renderer > yt-button-shape > button"); button.appendChild(textSpan); button.style.width = "auto"; result = textSpan; } return result;
登入以回復
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
For whatever reason it stopped finding button with querySelector off the parent element.
Until fixed workaround is to hardcode button location in getDislikeTextContainer. Replace all content of getDislikeTextContainer function with.