Anarios / return-youtube-dislike

Chrome extension to return youtube dislikes
https://returnyoutubedislike.com/
GNU General Public License v3.0
12.53k stars 558 forks source link

Support for Firefox Andoid(FR) #68

Closed WasteOfO2 closed 2 years ago

WasteOfO2 commented 2 years ago

Hello! Appreciate the initiative (^^)

The extension isnt supported on Firefox for Android(cannot confirm for iOS).

Tamper monkey isn't available for mobile either.

Are there plans to support this extension for mobile platforms? If not, what are our options

Thank you for this project, have a great day (^^)

aryavsaigal commented 2 years ago

Unfortunately we have no control over whether this extension can be downloaded on Firefox for Android.

We would like to enable support for more extensions on the new Firefox for Android experience and we are currently evaluating ways we can do so without introducing the compatibility and security issues from the previous version of our mobile browser for Android. We'll provide updates as soon as we have more details.

This is Mozilla's statement about this.

Hans5958 commented 2 years ago

You could, but use the Nightly version.

https://www.ghacks.net/2020/10/01/you-can-now-install-any-add-on-in-firefox-nightly-for-android-but-it-is-complicated/

WasteOfO2 commented 2 years ago

Thank you for your replies.

I have installed Nightly FF.

Weirdly enough, after creating my firefox account and logging in, I can no longer view non-reccomeded extensions.

So I am not able to add the extension to my custom collection either.

Is downloading the .xpi file and use usb-debugging to install it a viable option?

aryavsaigal commented 2 years ago

Is downloading the .xpi file and use usb-debugging to install it a viable option?

You'd have to keep reinstalling whenever there is an update, but if that's fine by you then go ahead.

WasteOfO2 commented 2 years ago

Thank you

Are there any other methods to get the extension working, though?

aryavsaigal commented 2 years ago

Thank you

Are there any other methods to get the extension working, though?

Maybe using an older version of firefox where all extensions were supported, but I highly discourage from doing this due to safety issues. Or wait until support is added. What issues are you getting when creating a collection? I might be able to help.

WasteOfO2 commented 2 years ago

Thank you for your response.

I have followed the steps mentioned in the link above about FF Nightly

The issue is as follows.

While you aren't logged in to FF Addons manager, you will not have access to collections.

Only upon creating an account, will you be able to create a collection, understandably so.

The problem with creating a collection, is that it only allows "reccomended" (aka the add ons that mozilla sees fit for mobile) add ons.

Meaning, if an add on has not been "Reccomended" by Mozilla, you cannot add it to your collection.

So essentially, there is no way of getting the extension on mobile via the Mozilla Add ons Manager.

aryavsaigal commented 2 years ago

@VihagChaturvedi I was checking the extension on android to see if it is working and there a few major bugs, I dont think the extension will work on android. I'll try fixing it.

WasteOfO2 commented 2 years ago

@DARKDRAGON532 thanks a lot man!

Should this issue remain open until the bugs are ironed out?

aryavsaigal commented 2 years ago

@DARKDRAGON532 thanks a lot man!

Should this issue remain open until the bugs are ironed out?

Yes, or else we might forget about it :P

WasteOfO2 commented 2 years ago

Sure lmfao

aryavsaigal commented 2 years ago

Screenshot_20211129_142939 Hmmm i not sure is this bug? But in destop version only work but buggy this in minute show right number and then all go wrong

thats the "major bug" i was talking about :P

NotHuza commented 2 years ago

Screenshot_20211129_142939 Hmmm i not sure is this bug? But in destop version only work but buggy this in minute show right number and then all go wrong

thats the "major bug" i was talking about :P

Oh i delite my replay by accide but ok

WasteOfO2 commented 2 years ago

Oddly specific number 🤔

0xGodspeed commented 2 years ago

I installed the userscript on tampermonkey on the icecraven browser(firefox fork). It works fine on the desktop version of youtube. Screenshot_20211130-091309852~01 But not on the mobile version. Screenshot_20211130-091316622~01

severtheskyline commented 2 years ago

There are some ways around to not being able to add different Add-ons to a collection, you can change the link to something like this

https://addons.mozilla.org/en-US/firefox/

This will show you all the add-ons, not let you install them, but you are able to add the to collections

Or use an already created Add-on Collection, like the one one from Iceraven called "What I want on fenix" Which has Violentmonkey and Tampermonkey for userscripts, or another I personally have called "Get better Fenix" Anyway should work.

AgentConDier commented 2 years ago

Installing on Firefox Android Nightly via a collection created with PandoraHayami's link worked well for me.

As far as I can tell, the wrong like/dislike numbers are caused by the addon's fetch for https://www.youtube.com/watch?v=oXEspXEMP-M being redirected to https://www.youtube.com/watch?v=oXEspXEMP-M because the mobile user header is used, even if the addon was triggered from a desktop mode tab.

AgentConDier commented 2 years ago

I created a test version of the addon that always adds a user-agent header to the api request, which fixes the dislike count in desktop mode. Updating the dislike count when switching videos seems to still be a problem. ~https://addons.mozilla.org/en-US/firefox/addon/temporary_testing_r-yt-dislike/ Collection: 15368551 my-android-addons~ Extension deactivated by Mozilla

0xGodspeed commented 2 years ago

Can the script also be updated to support m.youtube.com?

vehosah commented 2 years ago

Thank you Are there any other methods to get the extension working, though?

Maybe using an older version of firefox where all extensions were supported, but I highly discourage from doing this due to safety issues. Or wait until support is added. What issues are you getting when creating a collection? I might be able to help.

I'm using an old Firefox version, but the extension doesn't work

vehosah commented 2 years ago

@DARKDRAGON532 thanks a lot man!

Should this issue remain open until the bugs are ironed out?

He closed it lol

nose-gnome commented 2 years ago

Thank you for your response.

I have followed the steps mentioned in the link above about FF Nightly

The issue is as follows.

While you aren't logged in to FF Addons manager, you will not have access to collections.

Only upon creating an account, will you be able to create a collection, understandably so.

The problem with creating a collection, is that it only allows "reccomended" (aka the add ons that mozilla sees fit for mobile) add ons.

Meaning, if an add on has not been "Reccomended" by Mozilla, you cannot add it to your collection.

So essentially, there is no way of getting the extension on mobile via the Mozilla Add ons Manager.

@VihagChaturvedi You can add non recommended extensions to your collection, I've done it with my collection a few weeks ago.

You could try following this tutorial: https://m.youtube.com/watch?v=dZWwSP-uS7Y