Open MasterKia opened 2 years ago
Hi, Ok, we will take a look.
Maybe dropped due no exist folder "extension/mobile/firefox" on adtidy.
For now I've resorted to using !#if (adguard_app_android || adguard_app_ios)
which is inaccurate since it can't target mobile Firefox users who use the AdGuard add-on.
Yandex Mobile and Kiwi Mobile may also support install crx MV2/MV3 extension.
Along the way, something ungoogled-Chromium also tried to make computer extensions work, but they rather withdrew support (even as someone made a long manual on how to install and update).
Still supposedly some other browser with some CRX support came to Google Play.
Note, that we'll also need this in CoreLibs.
I am curious uBo !#if env_firefox
works properly when using Windows/macOS/Android apps (assuming that any interference will skuct that the corruption is reproducible in Chromium and Safari)?
It's ignored, pre-processor directives are applied when the rules are downloaded, and not in runtime when AG does content filtering.
Yandex Mobile and Kiwi Mobile may also support install crx MV2/MV3 extension.
Along the way, something ungoogled-Chromium also tried to make computer extensions work, but they rather withdrew support (even as someone made a long manual on how to install and update).
Still supposedly some other browser with some CRX support came to Google Play.
So to be clear, it's no longer possible to install Adguard extension on ungoogled Chromium, and hasn't been for over year?
if so that's a bummer.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bump
This is a bit more complicated then it may look like at first considering that the browser extension come with some initial pre-baked filter lists.
The changes that needs to be done to fully:
env_mobile
dynamically when the extension runs on mobile.But there are two more complicated steps that also make sense and need to be filed as separate tasks linked to this issue:
env_mobile
and let it inside filter lists (so that these were interpreted by the ad blockers themselves) -- unlike what it usually does when it expands all pre-processor directives.
Related issue: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/1971
I remember @ameshkov saying that "AdGuard is aiming to have full compatibility with uBO's extended syntax to make life easier for filterlist maintainers", but it turns out that's not the case.
As described here, uBO supports
!#if env_mobile
condition but AdGuard ignores anything in between the!#if env_mobile
block. For now I just got rid of the "env_mobile" but it might become problematic in future.Reproduced in Firefox Mobile using AdGuard add-on 4.0.204.
cc @DandelionSprout @maximtop