Jelajahi Sumber

do not get Shorts like number

It does not work.
Also, in js zero is not false.
Aneimytis 3 tahun lalu
induk
melakukan
1d3f71170b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Extensions/combined/src/state.js

+ 1 - 1
Extensions/combined/src/state.js

@@ -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")