mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-21 13:53:01 +01:00
do not get Shorts like number
It does not work. Also, in js zero is not false.
This commit is contained in:
1 parent
41dd4e656e
commit
1d3f71170b
1 file changed
+1
-1
@@ -150,7 +150,7 @@ function getLikeCountFromButton() {
|
||||
if (isShorts()) {
|
||||
//Youtube Shorts don't work with this query. It's not nessecary; we can skip it and still see the results.
|
||||
//It should be possible to fix this function, but it's not critical to showing the dislike count.
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
let likesStr = getLikeButton()
|
||||
.querySelector("yt-formatted-string#text")
|
||||
|
||||
Reference in new issue
Block a user