AdguardTeam / AdguardTeam/FiltersCompiler

Convert ABP #?# syntax

未关闭
#4 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
64
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

@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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。