AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
25.5k stars 1.83k forks source link

User-friendly custom rules settings #2551

Open yanniedog opened 3 years ago

yanniedog commented 3 years ago

Please don't force users to use coding symbols.

Please make an option to block/unblock all domains or subdomains containing the following text: ____ (user input)

People that use your product instead of PiHole are looking for a more user friendly approach than PiHole (which quickly descends into confusing Linux syntax).

REGEX is not intuitive for a lot of people, and many people will give up and simply disable AGH rather than learn REGEX syntax.

Please consider the simple and non-technical folk.

ameshkov commented 3 years ago

Well, this could be built on top of the existing functionality by introducing a simpler "visual" editor.

Aikatsui commented 3 years ago

Related https://github.com/AdguardTeam/AdGuardHome/issues/1450

DandelionSprout commented 3 years ago

To block all domains with some text: /.*exampletext.*/

To unblock all domains with some text: @@/.*exampletext.*/

That way, only the absolute bare minimum of RegEx is necessary to fulfill OP's request. (.* is indefinite wildcard, / / tells AdGuard Home that it's RegEx, @@ is for whitelisting.)