diff --git a/README.md b/README.md index 9a64437..2642410 100644 --- a/README.md +++ b/README.md @@ -16,61 +16,15 @@ Suggestions are completely welcomed! NOTE: Youtube advertisements are pretty difficult to block trough DNS, as they mainly use a couple of domains for delivering advertisements, but they may also use those same domains for delivering other types of contents that you might not want to block. ## Regex filters ->^[1234]\.bp\.blogspot\.com - ->((.*)\.)?abc\.(.*) - ->((.*)\.)?ampproject\.(.*) - ->((.*)\.)?android\.(.*) - ->((.*)\.)?chrome\.(.*) - ->((.*)\.)?chromeexperiments\.(.*) - ->((.*)\.)?chromium\.(.*) - ->((.*)\.)?doubleclick\.(.*) - ->((.*)\.)?firebaseio\.(.*) - ->((.*)\.)?ggpht\.(.*) - ->((.*)\.)?gmail\.(.*) - ->((.*)\.)?google(\.(.*))? - ->((.*)\.)?googleadservices\.(.*) - ->((.*)\.)?googleapis\.(.*) - ->((.*)\.)?googlesyndication\.(.*) - ->((.*)\.)?googletagmanager\.(.*) - ->((.*)\.)?googletagservices\.(.*) - ->((.*)\.)?googleusercontent\.(.*) - ->((.*)\.)?google-analytics\.(.*) - ->((.*)\.)?gstatic\.(.*) - ->((.*)\.)?gv(t[12])?\.(.*) - ->((.*)\.)?waze\.(.*) - ->((.*)\.)?withgoogle\.(.*) - ->((.*)\.)?youtube\.(.*) - ->((.*)\.)?ytimg\.(.*) - ->.?1e100. - ->.?googlebot. - ->.?gmodules. +>(.*\.|^)((think)?with)?google($|((adservices|apis|mail|static|syndication|tagmanager|tagservices|usercontent|zip|-analytics)($|\..+))) +>(.*\.|^)g(gpht|mail|static|v(t[12])?)($|\..+) +>(.*\.|^)chrom(e(experiments)?|ium)($|\..+) +>(.*\.|^)ampproject($|\..+) +>(.*\.|^)doubleclick($|\..+) +>(.*\.|^)firebaseio($|\..+) +>(.*\.|^)googlevideo($|\..+) +>(.*\.|^)waze($|\..+) +>(.*\.|^)y(outube|timg)($|\..+) You can also easily use the modified [pihole regex installer script](https://github.com/mmotti/pihole-regex) by [@mmoti](https://github.com/mmotti) by executing this terminal command from your raspberry Pi Pi-hole server. ``` diff --git a/regex.list b/regex.list index 1f9ba82..7b88a37 100644 --- a/regex.list +++ b/regex.list @@ -1,11 +1,9 @@ (.*\.|^)((think)?with)?google($|((adservices|apis|mail|static|syndication|tagmanager|tagservices|usercontent|zip|-analytics)($|\..+))) (.*\.|^)g(gpht|mail|static|v(t[12])?)($|\..+) (.*\.|^)chrom(e(experiments)?|ium)($|\..+) -(.*\.|^)abc($|\..+) (.*\.|^)ampproject($|\..+) -(.*\.|^)android($|\..+) (.*\.|^)doubleclick($|\..+) (.*\.|^)firebaseio($|\..+) (.*\.|^)googlevideo($|\..+) (.*\.|^)waze($|\..+) -(.*\.|^)y(outube|timg)($|\..+) +(.*\.|^)y(outube|timg)($|\..+) \ No newline at end of file