plateaukao / einkbro

A small, fast web browser based on Android WebView. It's tailored for E-Ink devices but also works great on normal android devices.
Other
1.15k stars 80 forks source link

a rule in ```AdGuard Base filter``` is not working #242

Closed Apaaja20 closed 1 year ago

Apaaja20 commented 1 year ago

This rule doesn't work:

/^https?:\/\/(?:[a-z]{2}\.)?[0-9a-z]{7,16}\.[a-z]{3,7}\/[a-z](?=[a-z]{0,25}[0-9A-Z])[0-9a-zA-Z]{3,26}\/(?:[1-6]\d{4}|[3-9]\d{3})\??(?:_=\d+|v=\d)?$/$subdocument,script,xmlhttprequest,third-party,match-case

Steps to reproduce

  1. Add AdGuard Base filter
  2. Go to https://truyentieuthuyet.vn/truyen-chu-ta-chi-muon-an-tinh-lam-cau-dao-ben-trong-nguoi/

    ‌Actual result Expected result Actual result Expected result

plateaukao commented 1 year ago

Where did you add the filter? currently EinkBro only supports normal host name list. It does not support regex format.

Apaaja20 commented 1 year ago

Adblock list url

Pada Kamis, 27 April 2023, Daniel Kao @.***> menulis:

Where did you add the filter? currently EinkBro only supports normal host name list. It does not support regex format.

— Reply to this email directly, view it on GitHub https://github.com/plateaukao/einkbro/issues/242#issuecomment-1525359674, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5RT7JMEDM7Q7PFNN2I4VHDXDJAUBANCNFSM6AAAAAAXM5AA4U . You are receiving this because you authored the thread.Message ID: @.***>

plateaukao commented 1 year ago

@Apaaja20 Please use formats like what's presented in https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts. Other than this format, it's not supported, and that may be why the app is crash when launching. Please uninstall EinkBro and re-install it to use similar source that has the same format.

Apaaja20 commented 1 year ago

https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_2_Base/filter.txt

plateaukao commented 1 year ago

The one you provided is not supported.