AdguardTeam / FiltersRegistry

Known filters subscriptions transformed for better compatibility with AdGuard
GNU Lesser General Public License v3.0
252 stars 55 forks source link

Do not include *_specific_uBO.txt of Fanboy Annoyances/EasyList Cookie for Content blocker #866

Open Yuki2718 opened 11 months ago

Yuki2718 commented 11 months ago

Prerequisites

Problem description

https://github.com/AdguardTeam/AdguardFilters/issues/168084#issuecomment-1848875626 *_specific_uBO.txt assumes the platform the list is used can handle all advanced syntax, which is not the case for CB. This causes issues like the above.

Proposed solution

Create another registry of Fanboy Annonyances/EasyList Cookie without *_specific_uBO.txt subcomponent for CB?

Additional information

Or else convert all of their hiding rules to CSS rules with display: none.

krystian3w commented 10 months ago

Also free iOS seems is CB (CSS and scriptlets may need buy licence).

If you have access to Rayan hosting (Web FTP, (s)FTP(s) or SSH) try:

!#if (!adguard_ext_android_cb && !adguard_app_ios)
!#include uBO_supplement.txt
!#endif

or

!#if !adguard_ext_android_cb
!#if !adguard_app_ios
!#include uBO_supplement.txt
!#endif
!#endif

Also possible use files created by gorhill (something like mirror) where more people have write acces to add if conditions.

https://github.com/uBlockOrigin/uAssets/blob/master/thirdparties/easylist/easylist-annoyances.txt

https://github.com/uBlockOrigin/uAssets/blob/master/thirdparties/easylist/easylist-cookies.txt

If someone knows how edit bash or module js scripts.

krystian3w commented 10 months ago

Second problem is rejection add many exceptions (10-20 or more broken pages) for ABP where Rayan repaired scrolling by CSS/scriptlet and skipped bug existed with ABP so also with CB (Android/iOS).

These you already have to search for yourself (in EL GH Issues) as they are not reported again on iOS.

Yuki2718 commented 10 months ago

Now EP has _specific_uBO.txt too https://github.com/easylist/easylist/pull/18170/ and this will eventually be extended to EL.