Skip to content

Adblocker seems to ignore attribute filters #438

@i-Moony

Description

@i-Moony

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions