adblock-rust
adblock-rust copied to clipboard
Adblocker seems to ignore attribute filters
I have these rules for Yandex Market:
market.yandex.ru##div["data-apiary-widget-name"*="@monetize/"]
market.yandex.ru##div["data-apiary-widget-name"="@marketfront/MadvHeaderPromo"]
These are straight from Adblock Plus syntax which adblocker claims to support.
Still, this div is not blocked/hidden:
I tried using :matches-attr() from uBlock's Wiki:
market.yandex.ru##div:matches-attr("data-apiary-widget-name"="/@monetize\/[^\s]+/")
market.yandex.ru##div:matches-attr("data-apiary-widget-name"="@marketfront/MadvHeaderPromo")
These still don't hide anything.
While with uBlock Origin and even Adblock Plus it works like a charm.