forked from hagezi/dns-blocklists
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregex-wildcard-rules.txt
More file actions
executable file
·46 lines (46 loc) · 1.27 KB
/
Copy pathregex-wildcard-rules.txt
File metadata and controls
executable file
·46 lines (46 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
! Title: HaGeZi's RegEx/Wildcard rules
! Description: Regex and wildcard rules for blocking certain adverts, analytics/tracking, pop-ups, typosquatting, etc. domains.
! Homepage: https://github.com/hagezi/dns-blocklists
! License: https://github.com/hagezi/dns-blocklists/blob/main/LICENSE
! Issues: https://github.com/hagezi/dns-blocklists/issues
! Syntax: AdGuard Home/DNS
!
! Ads
/(^|\.)(0x)?(?=[0-9a-f]*[a-f])(?=[0-9a-f]*[0-9])[0-9a-f]{10,64}\.[a-z]{2,}$/
! Analytics/Tracking
/(^|.+\-|.+\.)(piwik|matomo|plausible|posthog|utiq|umami|sentry|bugsnag)\d*(\-[^.]+)?\.[^.]+\.[^.]+.*$/
! Tagging
/^s?s?gtm\.[a-z0-9-]+\.([a-z]{2,}|[a-z]{2,3}\.[a-z]{2,})$/
/^(tags|tagging|tagmanager)\.[a-z0-9-]+\.([a-z]{2,}|[a-z]{2,3}\.[a-z]{2,})$/
/^gtm\-.*\.(appspot\.com|fps\.goog|run\.app)$/
/\-tagging\-.*\.run\.app$/
! Popups
/^94\.242\.247\.(2[0-9]|3[0-2])$/
/^216\.21\.13\.(14|15)$/
/^103\.218\.242\.[0-9]+$/
/^172\.241\.7\.[0-9]+$/
/^23\.109\.135\.[0-9]+$/
/^69\.41\.166\.[0-9]+$/
! Crap
/(^|\.)[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}\.[a-z]{2,}$/
|*0-0-0-0*^
! Typosquatting
|*app1e*^
|*faceb00k*^
|*faceb0ok*^
|*facebo0k*^
|*g00gle*^
|*g0ogle*^
|*go0gle*^
|*inslagram*^
|*lnslagram*^
|*lnstagram*^
|*ipfs*^
|*off1ce*^
|*0ff1ce*^
|*0ffice*^
|*qltuh*^
|*tw1tter*^
|*y0ulube*^
|*y0utube*^
|*youlube*^