Skip to content

Element hiding rule with a large number of domains applied as generic rule #122

Description

@Alex-302

Related issue: AdguardTeam/AdguardFilters#231700

Steps to reproduce

  1. Disable all filters
  2. Enable AdGuard Social filter
  3. Go to https://wattmann.jp/search/

Actual behaviour

Element with .share class is hidden. The problem is that there is no rule in the filter that would block this element on this site (none of the filters contain rules for this site).

The rule, which applied as generic
https://github.com/AdguardTeam/AdguardFilters/blob/01a51063e7bd53ac4dd8f59b0766e95f0e16b31e/SocialFilter/sections/specific.txt#L13

We also have an unblocking rule for that rule, it seems they are related to the problem
recorder.google.com#@#.share
developer.mozilla.org#@#.share
I tried to check when they were removed - in this case the problem is not reproducible.

Also CB file has 1189 elements

        "action": {
            "type": "css-display-none",
            "selector": ".share"
        }

blocking-content-rules-social.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions