AdguardTeam / AdguardTeam/FiltersCompiler

Convert ABP #?# syntax

Đang mở
#4 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
64
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

@seanl-adg commented on [Mon Jul 10 2017](https://github.com/AdguardTeam/AdguardFilters/issues/5621)

According to https://adblockplus.org/development-builds/new-syntax-for-advanced-element-hiding-rules, ABP will use `#?#` instead of `##` to distinguish element hiding rules which make use of `-abp-has` and `-abp-properties` pseudo classes.

We need to convert `#?#` to `##`, `-abp-has(...)` to `[-ext-has='...']`, and discard if `-abp-properties` is used.

---

@Alex-302 commented on [Wed Oct 25 2017](https://github.com/AdguardTeam/AdguardFilters/issues/5621#issuecomment-339406089)

Can we close it?

---

@ameshkov commented on [Thu Nov 16 2017](https://github.com/AdguardTeam/AdguardFilters/issues/5621#issuecomment-345009986)

@Alex-302 nope, we'd better do it

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.