Troubleshoot AdGuard filter help wanted

Gandalf_The_Grey

Level 85
Thread author
Verified
Honorary Member
Top Poster
Content Creator
Well-known
Forum Veteran
Apr 24, 2016
7,737
6
81,354
8,389
54
The Netherlands
Briefly explain your current issue(s)
Want to combine two rules in one rule for all websites
Steps taken to resolve, but have been unsuccessful
Read "How to create your own ad filters" but that's too complicated for me. I couldn't find what I wanted.
https://kb.adguard.com/en/general/how-to-create-your-own-ad-filters?aid=16593
For two websites I need to allow ##.o-cookielaw found in AdGuards annoyances filter.

That is done by the wizard (no not me but from AdGuard :D ) as:

bosch-home.nl#@#.o-cookielaw
neff-home.com#@#.o-cookielaw

How do I combine that in one rule, for all websites?
 
Solution
For two websites I need to allow ##.o-cookielaw found in AdGuards annoyances filter.

That is done by the wizard (no not me but from AdGuard :D ) as:

bosch-home.nl#@#.o-cookielaw
neff-home.com#@#.o-cookielaw

How do I combine that in one rule, for all websites?
bosch-home.nl,neff-home.com#@#.o-cookielaw

When I remember Yuki's critique (or better tips) on my rules correctly, as long as you use domain names, it does not matter a lot performance wise whether you write it in a single rule or combine them as shown above. When you look at Easylist and Adguard filters, it seems best practice to combine them in a single rule.

UBlockOrigin has an option to exclude generic rules and disable cosmetic filtering both for performance...
For two websites I need to allow ##.o-cookielaw found in AdGuards annoyances filter.

That is done by the wizard (no not me but from AdGuard :D ) as:

bosch-home.nl#@#.o-cookielaw
neff-home.com#@#.o-cookielaw

How do I combine that in one rule, for all websites?
Why not uncheck the 'naughty' rules in the filter list?
 
Upvote 0
Sorry, I didn't know. I use Adguard for Windows. And unblocking in the log?
Yes, that works, but then I get two rules, a rule for evey site where I whitelist that and I want to know how to make one rule to allow it for all sites.
Like ^ at the end of a rule.
I don't think #@#.o-cookielaw is enough.
Probably I need to add something in front of that rule to allow it for all sites.
 
Upvote 0
For two websites I need to allow ##.o-cookielaw found in AdGuards annoyances filter.

That is done by the wizard (no not me but from AdGuard :D ) as:

bosch-home.nl#@#.o-cookielaw
neff-home.com#@#.o-cookielaw

How do I combine that in one rule, for all websites?
bosch-home.nl,neff-home.com#@#.o-cookielaw

When I remember Yuki's critique (or better tips) on my rules correctly, as long as you use domain names, it does not matter a lot performance wise whether you write it in a single rule or combine them as shown above. When you look at Easylist and Adguard filters, it seems best practice to combine them in a single rule.

UBlockOrigin has an option to exclude generic rules and disable cosmetic filtering both for performance reasons, so my guess is that generic cosmetic filters should be kept to a minimum (performance wise). So my advice is not to use a generic exception rule (but use AG's really good rule wizzard for each website you encounter the problem).
 
Last edited:
Upvote 1
Solution
Upvote 0
bosch-home.nl,neff-home.com#@#.o-cookielaw

When I remember Yuki's critique (or better tips) on my rules correctly, as long as you use domain names, it does not matter a lot performance wise whether you write it in a single rule or combine them as shown above. When you look at Easylist and Adguard filters, it seems best practice to combine them in a single rule.

UBlockOrigin has an option to exclude generic rules and disable cosmetic filtering both for performance reasons, so my guess is that generic cosmetic filters should be kept to a minimum (performance wise). So my advice is not to use a generic exception rule (but use AG's really good rule wizzard for each website you encounter the problem).
bosch-home.nl,neff-home.com#@#.o-cookielaw works great but going back to uBlock Origin with the option to exclude generic cosmetic filters solves all problems without any rule to add. Thank you all for your replies, much appreciated (y)
 
Upvote 0