AdguardTeam / FiltersCompiler

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

Valid Extended CSS rules marked as invalid #26

Closed Alex-302 closed 6 years ago

Alex-302 commented 6 years ago

@Alex-302 commented on Fri Nov 02 2018

these rules are also valid

3g.baidu.com,m.baidu.com,m5.baidu.com,www.baidu.com#?#div:-abp-has(>div[id$="_1"]+div[id$="_5"])
cwer.me,cwer.ru,cwer.su,cwer.ws#?#div[id$="sidebar"] > .rounded:-abp-has(> .roundct > noindex)
dzgeek.com#?#li + .postbit:-abp-has(img[src$="/avatars/partenaire.png"])
e.mail.ru#?#div:-abp-has(> * > * > * > * > [data-id]:-abp-contains(/^Директ$/))
hideip.me#?#[style*="block"][style$="400px"]:style(width: 10px !important; height:10px !important; display: block !important; transform: scale(0) !important; position: fixed !important)
libertycity.ru#?#[class$="column"] table[width="100%"]:-abp-has(td[align="center"]:-abp-contains(Ad))
mail.ru,~octavius.mail.ru#?#div[class]:-abp-has(> div > div > div:-abp-contains(/^адрес и телефон$|^18\+$|^директ$|^mytarget$/i))
memesmix.net#?#div[id$="-menu"] [class*="module-body"]:-abp-has(> * > script[src]:not([src*="vk.com"]))
niebezpiecznik.pl#?#div[style="width:300px;float:left;"] ~ p:first-of-type:-abp-contains(/^$/)
pornolab.biz,pornolab.cc,pornolab.lib,pornolab.net#?#.forums tr[id^="f-"]:-abp-has(.topic_icon[src$="/folder_lock.gif"])
stratege.ru#?#div[class$="_box"]:-abp-has(> div[class*="title"]:-abp-contains(Реклама))
thg.ru#?#table:-abp-has(> tbody > tr > td > span:-abp-contains(/^реклама$/i))
www.drive2.ru#?#*:-abp-has(> *:-abp-contains(/^реклама$/i))
zen.yandex.by,zen.yandex.com,zen.yandex.com.tr,zen.yandex.fr,zen.yandex.kz,zen.yandex.ru,zen.yandex.ua#?#.feed__item:-abp-has(*:-abp-contains(/^реклама$/i))

All these rules contain $ symbol, maybe this i a reason.