Skip to content

Make AdGuard versions of no-doomscroll filter lists #28

@anfragment

Description

@anfragment

Description

Currently, no-doomscroll lists only work with Zen and uBlock Origin. We need to add support for AdGuard.

The issue is the :matches-path pseudo-selector, which AdGuard's extended CSS implementation doesn't support. AdGuard uses the $path modifier instead: AdguardTeam/CoreLibs#124 (comment)

I've attempted to rewrite the rules using $path for AdGuard without success. See these commits: 8244e61, 2db7b2b. The specific problem is selecting only the index page of a website, which we achieve using :matches-path(/^\/$/).

Acceptance criteria

  • AdGuard lists successfully replicate the behavior of :matches-path(/^\/$/)
  • New filter lists are placed alongside existing ones with the naming pattern main-ag.txt (see 8244e61 for structure), including the index list

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomershelp wantedExtra attention is neededno-doomscrollRelates to the no-doomscroll filter lists.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions