42 lines
1.1 KiB
Plaintext
Executable File
42 lines
1.1 KiB
Plaintext
Executable File
! 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*(\-[^.]+)?\.[^.]+\.[^.]+.*$/
|
|
! 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*^
|