AdguardTeam / FiltersCompiler

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

A correct rule is recognized as incorrect #221

Open Alex-302 opened 5 months ago

Alex-302 commented 5 months ago
Filter ID: 11
Filter name: AdGuard Mobile Ads filter
Compiled rules: 8179
Excluded rules: 2
URL: https://filters.adtidy.org/extension/chromium/filters/11.txt
INVALID RULES:
Error: Invalid selector: '.h-\[var\(--ads-height\)\]' -- Error: unable to select by '.h-\[var\--ads-height\\]' — '.h-\[var\--ads-height\\]' is not a valid selector in rule: sp.seiga.nicovideo.jp##.h-\[var\(--ads-height\)\]

Rule: https://github.com/AdguardTeam/AdguardFilters/commit/4e9bf22a7e3eebc8d7d7c8268e7ac66a3fa1206c

It was replaced by sp.seiga.nicovideo.jp##div[style^="--ads-width:"]