Skip to content

Brave에서 작동하지 않는 일부 필터 수정 #3

Description

@ehfkwlfkwl

Brave에서는 $domain에 정규식 주소가 적혀있을 경우 정규식 처리를 하지 않고 그대로 처리합니다.
brave/adblock-rust#314

(예시)
/^https:\/\/tvwiki[0-9]+\.net\/data\/banner\//$domain=/tvwiki[0-9]+\.net/
Brave는 필터링할 domain을 /tvwiki0.net/, /tvwiki1.net/ ... 로 인식하는 것이 아닌 /tvwiki[0-9]+\.net/ 라고 그대로 인식하여
해당 필터는 brave에서 제대로 작동하지 않습니다.

Brave에서도 정상 작동하도록 수정하기 위해
$domain 뒤에 [0-9] 가 있는 정규식 필터 규칙의 경우 $domain 뒤를 삭제 처리해주면 좋을 것 같습니다.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions