Open mneunomne opened 2 years ago
from https://github.com/dhowe/AdNauseam/issues/2110#issuecomment-1158886224
adnauseam.txt should override any other filter list (potentially by auto-adding $important) any user-added rule should override any other rule
from https://github.com/dhowe/AdNauseam/issues/2110#issuecomment-1158720546
@@||
will overwrite any scope of block that is not $important
:
e.g.: @@||nytimes.com
Allows over the more specfic scope ||nytimes.com/svc/nyt/data-layer$script
$important
will have precedence over any allow exception@@||
@@||
, Adn-Allow
can only be overwritten by $important
tag, OR with an exact matching filter.Given the URL:
https://a.nytimes.com/svc/nyt/data-layer?assetUrl=https%3A%2F%2Fwww.nytimes.com%2F&caller_id=nyt-vi&jkcb=1655455947978&referrer=&sourceApp=nyt-vi
Allow-Block-List (e.g. Adnauseam Filters) | Adn-Allow-Lists (e.g. EasyList) | Result | |
---|---|---|---|
A | \|\|nytimes.comˆ |
block | |
B | \|\|nytimes.comˆ |
adn-allow | |
C | \|\|nytimes.comˆ$important |
adn-allow | |
D | \|\|nytimes.comˆ |
\|\|nytimes.comˆ |
block |
F | \|\|nytimes.comˆ |
\|\|nytimes.comˆ$important |
adn-allow |
E | \|\|nytimes.com/svc/nyt/data-layer$script |
\|\|nytimes.comˆ |
adn-allow |
G | \|\|nytimes.comˆ$important |
\|\|nytimes.com/svc/nyt/data-layer$script |
block |
Seems there are more cases to consider...
for uBlock:
plus, for AdNauseam:
How does Adnauseam precedence of filters work, and how should it work?
Discussion started in https://github.com/dhowe/AdNauseam/issues/2110