AdguardTeam / FiltersCompiler

A tool that compiles & validates filters
GNU Lesser General Public License v3.0
53 stars 12 forks source link

Support blocking rules for a defined list of domains #232

Open BlazeFTL opened 5 months ago

BlazeFTL commented 5 months ago

Now Many Site Owner Buy Domains In BULK For Evading AdBlock Instead Of Updating Anti Adb Code

One Of The Prime Example Is Gplinks http://gplinks.co/rJgS

https://github.com/AdguardTeam/AdguardFilters/issues/170980#issuecomment-2131297762

So For Gplinks There Maybe 5-6 Filters And Instead Of Adding Domains 6 Times Why Not Follow This Example Below

!#define Gplinks.com (example.com,example2.com)
Gplinks.com##.ads
!#endif

So Every Time Gplinks Uses A New Domain Only Adding The Domain In The First Line Would Be Enough

!#define Gplinks.com (example.com,example2.com,newdomain.com)
Gplinks.com##.ads
!#endif

Would Be Enough (Reduces Filter Maintainers Burden As Its Very Annoying To Add Domains Regularly)

Related UBO Discussion https://github.com/uBlockOrigin/uBlock-issues/discussions/3212#discussioncomment-9395074

slavaleleka commented 3 months ago

@BlazeFTL how is it related to the Scriptlets repo?

BlazeFTL commented 3 months ago

Sorry I Couldn't Understand The Right Repo To Request Such A Feature