Skip to content

Bad rule with nested uBO modifier ':matches-media(...)' #1107

@105th

Description

@105th

Prerequisites

  • This problem is not related to filtering issues. Otherwise, you should read this article;
  • You're using an up-to-date version of the problematic filter;

Problem description

During converting filters we noticed error:

failed to process rule: '[$path=/^((?!^/$).)*$/]dawn.fi#$#.header:not(:matches-media((min-width: 750px))) + div[class] + div[class] .mobile-top-ad { margin: -10px auto !important }' due to: uBO modifier ':matches-media(...)' cannot be nested
Stack trace:
AdblockSyntaxError: uBO modifier ':matches-media(...)' cannot be nested

Problematic rule is in the filter 233 -

[$path=/^((?!^/$).)*$/]dawn.fi#$#.header:not(:matches-media((min-width: 750px))) + div[class] + div[class] .mobile-top-ad { margin: -10px auto !important }

Proposed solution

Fix rule please :)

Privacy

  • I agree to follow this condition

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: BugThe issue is caused by a program bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions