Return of the YouTube Dislike, Based off https://www.returnyoutubedislike.com/
< 脚本Return YouTube Dislike的反馈
So, it seems to be broken again. Here's a quick fix until it gets properly fixed.
Replacing
getButtons().children[1].querySelector("#text").innerText = dislikesCount;
with
getButtons().children[1].getElementsByTagName('a')[0].querySelector("#text").innerText = dislikesCount;
should get it working again normally.
Original code works fine when logged out(or in incognito). But when logged in buttons.children[1].querySelector("#text") returns null for some reason. There's probably a better solution, so feel free to continue debugging.
buttons.children[1].querySelector("#text")
null
登录(不可用)以发表回复。
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
So, it seems to be broken again. Here's a quick fix until it gets properly fixed.
Replacing
with
should get it working again normally.
Original code works fine when logged out(or in incognito). But when logged in
buttons.children[1].querySelector("#text")
returnsnull
for some reason. There's probably a better solution, so feel free to continue debugging.