Skip to content

[estimate] Apply $document blocking rule even if specific exception rule is present #3262

@slavaleleka

Description

@slavaleleka

Please answer the following questions for yourself before submitting an issue

  • Filters were updated before reproducing an issue
  • I checked the knowledge base and found no answer
  • I checked to make sure that this issue has not already been filed

AdGuard Extension version

5.1.102

Browser version

Chrome Dev 140

OS version

macos 15.5

Issue Details

Steps to reproduce:

  1. Add to user rules:
@@||example.org^$generichide
||example.org^$document
  1. Go to - http://example.org/

Expected Behavior

Webpage is blocked due to ||example.org^$document. This would be consistent with the CoreLibs app and MV3 extension (available in v5.2)

related issue:
#3260

Actual Behavior

$document blocking rule is not applied, because an exception rule is applied since it has higher priority:
https://adguard.com/kb/general/ad-filtering/create-own-filters/#rule-priorities

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions