return-youtube-dislike icon indicating copy to clipboard operation
return-youtube-dislike copied to clipboard

(Bug): No dislike counter on Kiwi Browser

Open Animan8000 opened this issue 2 years ago • 4 comments

Browser

Kiwi Browser

Browser Version

v99.0.4844.66

Extension or Userscript?

Extension

Extension/Userscript Version

v2.1.0.3

Video link where you see the problem

No video, but added screenshots in description.

What happened?

No dislike counter shows up when using the Kiwi Browser. It's a chromium Browser for the phone with chromium desktop extensions support. A friend of mine can confirm the same issue, in both cases we're on Android, me v10 Android and him v12. Both of us tested it yesterday.

Screenshot_20220316_114206 Screenshot_20220316_114201

Thanks!

How to reproduce/recreate?

  • Install the extension from the chrome store on that browser and open any YouTube video in the browser.

Animan8000 avatar Mar 16 '22 10:03 Animan8000

Update: It seems that desktop mode of YouTube.com solves it but not mobile mode. However I am really against desktop mode on YouTube because it's more difficult to use, watch and it's also more laggy than mobile.

Animan8000 avatar Mar 16 '22 11:03 Animan8000

I have had the same issue. It also appears in the Firefox Nightly browser. Refreshing the page seems to cause the dislike count to appear but a second dislike count appears near the profile picture of the video uploader Screenshot_20220315-150734_Firefox_Nightly .

awilson0518 avatar Mar 16 '22 18:03 awilson0518

a second dislike count appears near the profile picture of the video uploader

fixed in https://github.com/Anarios/return-youtube-dislike/pull/486

sy-b avatar Mar 19 '22 06:03 sy-b

Until somewhat recently this wasn't a problem for me using kiwi browser, but with a more recent (probably a few months old by this point) update they made to the mobile layout, the addon completely broke.

I made a script that uses the returnyoutubedislike API and was able to "fix" (as in, properly show) the issues. (It's very badly written and full of small hacks so I wouldn't recommend anyone using it unless you really want the feature like I did/do).

By wasting a good few hours on this, I discovered a few things that might (or might not be) relevant to the problem: youtube keeps rewriting the like/dislike button multiple times until the page is fully loaded and also whenever you click either of the two buttons, overwriting any possible changes anyone could have made to it (if no observer/event is used to monitor any changes and then modify it back again). The style of the button itself also has to be modified as it won't auto-expand. It also doesn't help that youtube is a SPA.

I've no familiarity with youtube's code (the javascript side) nor developing extensions, much less with return-youtube-dislike's codebase so this is the extend that my poor skills can take me, I hope someone more knowledgeable can come up with a better solution and integrate it with RYD so there's no need for external scripts.

Dwyriel avatar Aug 21 '23 01:08 Dwyriel