Open scripthunter7 opened 1 month ago
I was thinking about having an intermediary build step that creates iOS compatible rules from all the rules that include -abp-has
via a regex. Then runs aglint on them and deletes the lines that produce an error.
Or if all rules created like that are valid on iOS then there is no need for linting to filter out the bad ones.
I was thinking about having an intermediary build step that creates iOS compatible rules from all the rules that include -abp-has via a regex.
Yes, something similar would probably work in most cases, although I'm not sure if there is/or will be a rule where this would cause problems (eg if the two rules only work together, but separately cause some kind of incorrect blocking - e.g. one rule only uses -abp-has
, but the other -abp-contains
, which is not supported by native CSS at all)
Basic AdGuard iOS content blocker doesn't support Extended CSS, but probably several
-abp-has
based rules can be ported to nativehas
to be compatible with the basic iOS cb.