AdguardTeam / FiltersCompiler

A tool that compiles & validates filters
GNU Lesser General Public License v3.0
52 stars 12 forks source link

Convert ABP #?# syntax #4

Open ameshkov opened 6 years ago

ameshkov commented 6 years ago

@seanl-adg commented on Mon Jul 10 2017

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

Can we close it?


@ameshkov commented on Thu Nov 16 2017

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