Skip to content
Completely block Google and its services
Branch: master
Clone or download
PoorPocketsMcNewHold Actually modified the regex list installer
Forgot to actually modify it. Now, it should work.
Latest commit 92b0626 Jul 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
categories Updated youtube domains Jul 20, 2019
LICENSE Create LICENSE Jul 20, 2019
README.md Update README.md Jul 20, 2019
google-domains Updated based on the parsed list Jul 20, 2019
install.sh Actually modified the regex list installer Jul 21, 2019
pihole-google.txt Update pihole-google.txt Jul 20, 2019
regex.list Update regex.list Apr 22, 2019

README.md

No G

Definition of GAFAM

The GAFAM is an acronym used to describe the five multinational technology companies Google, Amazon, Facebook, Apple and Microsoft, taking the first letters of all these companies. The GAFAM are sometimes referred to as the Big Five due to them being the five most profilific companies in the world. Although in some sectors some of the five companies may be in direct competition, they offer different products or services overall while presenting some common characteristics that deserve to bring them together under the same acronym: by their size, they are particularly influential on the American and European Internet both economically and politically and socially and are regularly the subject of criticism or prosecution on tax matters, abuses of dominant positions and the non-respect of Internet users' privacy.

Purge Google from your network!

Protect yourself from Google's surveillance by using this blocklist!

Feel free to criticize our blocklist to make it better and better. Suggestions are completely welcomed!

Youtube Advertisements Regex

^r[0123456789]+((-{3})|(.))sn-.{8}.googlevideo.com$

NOTE: This is supposed to prevent these domains to be loaded not only on youtube, but on all over the web and, since I'm trying to completely block google in my home, I don't care if youtube is broken. I'll may work on an efficient regex for this purpose.

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.

You can also easily use the modified pihole regex installer script by @mmoti by executing this terminal command from your raspberry Pi Pi-hole server.

curl -sSl https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/install.sh | bash

and then, executing it. It should add all of the above regex automatically.

Sites you may want to whitelist

recaptcha.google.com

(Be aware that the regex script doesn´t add it to the whitelist list by default)

How to use it ?

Simply go into to your blocklist settings to add either, the whole filter `https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/pihole-google.txt or either a selection of the filtered domains

https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/youtubeparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/shortlinksparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/proxiesparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/productsparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/mailparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/generalparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/fontsparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/firebaseparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/doubleclickparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/domainsparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/dnsparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/androidparsed
https://raw.githubusercontent.com/nickspaargaren/pihole-google/master/categories/analyticsparsed

(Combining those with the main whole filter is useless and not recommended, however, feel free to combine the different smaller filters)

Can i use it with my other ads/domains blocker program ?

Surely ! if it does indeed support the host or domains type of filters. Import it manually, or click on this link if you are using a web browser extension.

Can i block the other letters of GAFAM ?

Of course, Here´s some filterlist link that have been made by other people.

Apple : https://github.com/c-edw/ios-telemetry or https://github.com/1r2/iosparanoid

Facebook : https://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/facebook/all or https://raw.githubusercontent.com/anudeepND/blacklist/master/facebook.txt

Amazon : Sadly, none to be found. Feel free to let us know of the existence of one !

Microsoft : https://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/microsoft/all

https://gafam.info

You can’t perform that action at this time.