AdguardTeam / AdguardTeam/FiltersCompiler

Convert ABP #?# syntax

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
64
Forks
11
PR merge metrics
No merged PRs in 30d

Description

@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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.