Open ameshkov opened 7 months ago
We can use urlfilter.adtidy.org to quickly check whether a domain is alive or not.
urlfilter.adtidy.org
Here's how it can be done: https://urlfilter.adtidy.org/v2/checkDomains?domain=doubleclick.net&domain=doubleclick.com
https://urlfilter.adtidy.org/v2/checkDomains?domain=doubleclick.net&domain=doubleclick.com
The response will contain this structure:
"info": { "domain_name": "doubleclick.com", "used_last_24_hours": true, "registered_domain": "doubleclick.com", "registered_domain_used_last_24_hours": true },
If used_last_24_hours is false the domain is most likely dead and we can show a warning about it.
used_last_24_hours
false
What rules we should analyze:
$domain
$denyallow
||example.org^
What's problematic about this all:
LinterRule
@ameshkov https://github.com/AdguardTeam/AGLint/issues/188 may related
We can use
urlfilter.adtidy.org
to quickly check whether a domain is alive or not.Here's how it can be done:
https://urlfilter.adtidy.org/v2/checkDomains?domain=doubleclick.net&domain=doubleclick.com
The response will contain this structure:
If
used_last_24_hours
isfalse
the domain is most likely dead and we can show a warning about it.What rules we should analyze:
$domain
,$denyallow
, etc.||example.org^
.What's problematic about this all:
LinterRule
interface.