3 ms·
It's surprising how much putting the following in one's hosts(5) file helps: 0.0.0.0 adservice.google.com ::1 adservice.google.com
by throw0101a 5y ago
It's surprising how much putting the following in one's hosts(5) file helps:
0.0.0.0 adservice.google.com
::1 adservice.google.com
0.0.0.0 ssl.google-analytics.com
::1 ssl.google-analytics.com
0.0.0.0 www.google-analytics.com
::1 www.google-analytics.com
0.0.0.0 www.googletagservices.com
::1 www.googletagservices.com
0.0.0.0 www.googletagmanager.com
::1 www.googletagmanager.com
0.0.0.0 partner.googleadservices.com
::1 partner.googleadservices.com
0.0.0.0 pagead2.googlesyndication.com
::1 pagead2.googlesyndication.com
0.0.0.0 googleads.g.doubleclick.net
::1 googleads.g.doubleclick.net
0.0.0.0 securepubads.g.doubleclick.net
::1 securepubads.g.doubleclick.net
I recently got a new MacBook for work and when I was surfing there was all sorts of popups and ads and such. I got none of these things on my personal iMac. It took a day or two for me to realize that it wasn't about (e.g.) the different version of macOS or Safari that I was running.
Once I updated the work machine's hosts(5) file things it was a night-and-day difference.
I cannot believe that people tolerate surfing the web without any ad filtering / blocking.