ublacklist icon indicating copy to clipboard operation
ublacklist copied to clipboard

Add support for Firefox for Android

Open iorate opened this issue 2 years ago • 9 comments

For now, this extension cannot be installed to the stable version of Firefox for Android.

Currently, only a limited number of extensions in our Recommended program are supported on the new Firefox for Android (codename: Fenix) release channel.

https://blog.mozilla.org/addons/2020/02/11/faq-for-extension-support-in-new-firefox-for-android/

Advanced users can install this extension to Firefox for Android Nightly according to: https://blog.mozilla.org/addons/2020/09/29/expanded-extension-support-in-firefox-for-android-nightly/

However, "Other search engines" and "Subscription" are not currently available in Firefox for Android Nightly because browser.permissions.request, which is the API to dynamically request permissions, is not yet implemented in GeckoView: mozilla-mobile/fenix#16912 https://bugzilla.mozilla.org/show_bug.cgi?id=1601420

Exceptionally, subscriptions to blocklists hosted on *.githubusercontent.com may be available because permission request for this origin is omitted. re #110

iorate avatar Sep 10 '21 05:09 iorate

Exceptionally, subscriptions to blocklists hosted on *.githubusercontent.com may be available because permission request for this origin is omitted. re #110

Thanks a lot for this workaround! Would you accept more such domains? I'd like to subscribe to lists on GitLab. Although GitLab itself does not use Access-Control-Allow-Origin: *, some third-party CDN services do:

  • GitHack: using domain glcdn.githack.com for files on GitLab
  • Statically: using domain cdn.statically.io

yan12125 avatar Sep 20 '21 03:09 yan12125

@yan12125 Thank you for your suggestion. You might want to create a pull request. The code to change: https://github.com/iorate/uBlacklist/blob/bbc2d22a24b04cf04ac4caced1d470876da355d8/src/scripts/options/subscription-section.tsx#L53

iorate avatar Sep 20 '21 12:09 iorate

Thanks! Let me try it out.

yan12125 avatar Sep 20 '21 14:09 yan12125

Sync is not available in Firefox for Android (Fenix) now because browser.identity.launchWebAuthFlow is not implemented.

Recently I added support for sync in Safari. Because Safari also lacks browser.identity.launchWebAuthFlow, I implemented an alternative to it. Is that alternative available in Fenix? Currently, no. It requires browser.permissions.request, which is not yet implemented in Fenix.

iorate avatar Sep 20 '21 15:09 iorate

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Nov 28 '21 15:11 github-actions[bot]

I think this issue should remain open even without activity?

yan12125 avatar Nov 29 '21 01:11 yan12125

I added a label that is exempt from stale

iorate avatar Dec 03 '21 14:12 iorate

According to https://bugzilla.mozilla.org/show_bug.cgi?id=1601420 browser.permissions.request is implemented.

Semro avatar Jun 11 '22 21:06 Semro

I tried uBlacklist 7.6.0 on Firefox Nightly 103, but no permission prompt showed. Maybe we need to wait for an update of Fenix. https://github.com/mozilla-mobile/fenix/issues/16912

iorate avatar Jun 13 '22 14:06 iorate

any update more?

item4 avatar Dec 25 '22 11:12 item4

Please support kiwi browser too

3xploiton3 avatar Jan 07 '23 17:01 3xploiton3

Is there an update for this? I can't activate UBlacklist on Android from the Firefox Add-On Store in Firefox / Firefox Nightly, nor from the Chrome Web Store in Kiwi. Is there a workaround to use UBlacklist on Android?

amroncz avatar Apr 04 '23 09:04 amroncz

I can't activate UBlacklist on Android from the Firefox Add-On Store in Firefox / Firefox Nightly

You need to use Firefox Beta or Firefox Nightly, and follow these instructions: https://blog.mozilla.org/addons/2020/09/29/expanded-extension-support-in-firefox-for-android-nightly/

teohhanhui avatar Apr 04 '23 11:04 teohhanhui

I can't activate UBlacklist on Android from the Firefox Add-On Store in Firefox / Firefox Nightly

You need to use Firefox Beta or Firefox Nightly, and follow these instructions: https://blog.mozilla.org/addons/2020/09/29/expanded-extension-support-in-firefox-for-android-nightly/

Thanks, I completely missed that in the initial post. The add-on is now installed. However, it only works in the news tab as long as the checkmark for desktop view is checked in Firefox.

amroncz avatar Apr 04 '23 12:04 amroncz

However, it only works in the news tab as long as the checkmark for desktop view is checked in Firefox.

Works for me on Firefox Beta for Android. (I'm also using Google Search Fixer to bypass the browser discrimination.)

teohhanhui avatar Apr 04 '23 13:04 teohhanhui

However, it only works in the news tab as long as the checkmark for desktop view is checked in Firefox.

Works for me on Firefox Beta for Android. (I'm also using Google Search Fixer to bypass the browser discrimination.)

I have edited my previous post. The problem occurs only in the news tab. Here it works only in desktop view mode.

amroncz avatar Apr 04 '23 13:04 amroncz

uBlackList V8.3.1 is working great for Google Search with Firefox Beta 117.0b4.
It is not working for other search engines for me.
In Options, Other Search Engines, the Enable button does not work if any other search engine is checked.

Eagle-85 avatar Aug 09 '23 13:08 Eagle-85

Firefox for Android seems to have an upcoming change allowing general addon installations https://blog.mozilla.org/addons/2023/08/10/prepare-your-firefox-desktop-extension-for-the-upcoming-android-release/

jessienab avatar Aug 11 '23 17:08 jessienab

but no permission prompt showed

Looks like it should be released in Firefox 120: https://github.com/mozilla-mobile/firefox-android/pull/3917

teohhanhui avatar Oct 05 '23 07:10 teohhanhui

It works now! https://www.mozilla.org/en-US/firefox/android/120.0/releasenotes/ I was able to install the extension directly from the firefox addon page. Although the mobile search is still limited to officially endorsed addons, accessing the page directly allows to click and install it. Not sure if the rollout is the same for everyone though.

NotaInutilis avatar Nov 27 '23 12:11 NotaInutilis

I'm closing this issue because we can now install this add-on to Firefox for Android 120.0 (or later). For further problems with Firefox for Android, please create a separate issue for each problem.

iorate avatar Dec 31 '23 13:12 iorate