AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

When adding a filter, show how many rules are applicable to DNS filtering rather than the total rules

Open jslawler opened this issue 3 years ago • 0 comments

Prerequisites

  • [X] I have checked the Wiki and Discussions and found no answer

  • [X] I have searched other issues and found no duplicates

  • [X] I want to request a feature or enhancement and not ask a question

Description

What problem are you trying to solve?

When adding a DNS filtering list to AdGuard Home it shows how many rules are contained within the filter list. The total amount of rules does not indicate whether they are suitable for DNS filtering, thus an entire filtering list could be pointlessly added.

Proposed solution

Add checks against added filters to determine the effectiveness of the filter by counting how many DNS applicable rules there are.

Additional information

Below is an example list that shows the total number of rules, but from what I've observed there doesn't appear to be many (if any) rules that are applicable to DNS filtering. https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/quick-fixes.txt

jslawler avatar Aug 07 '22 12:08 jslawler