adblock-rust icon indicating copy to clipboard operation
adblock-rust copied to clipboard

Adblocker seems to ignore attribute filters

Open i-Moony opened this issue 1 year ago • 0 comments

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:

Image

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.

i-Moony avatar Feb 28 '25 18:02 i-Moony