News for hackers. Stuff that matters.
Re:Is Google Analytics illegal in your country? by deepstack on Wednesday January 19, 2022 @10:50AM (#29995170)
>PS: What adds salt to injury is that you're using Google Fonts on this website. If you were privacy-conscious, you'd self-host at least. Read here: https://developers.google.com/fonts/faq?hl=en#what_does_usin...

Thanks for pointing that. Don't know how many time have met privacy advocates, etc has made a such a strong point against google, and still embedded youtube video or google font on their site. Is there are github page where one can block all google or fb used domains or ips? Would be very useful!

Re:Is Google Analytics illegal in your country? by Melatonic on Wednesday January 19, 2022 @12:28PM (#29996750)
Lots of different methods but for most the easiest is to just use something like NextDNS or a pihole. Pihole being potentially cheaper long term and NextDNS having the advantage that you can use it when off your home network.

If you want to get extra fancy you need to also worry about Doh and Dot (encrypted DNS) and hardcoded IP's (mainly for actual applications like mobile apps or smart devices). Encrypted DNS is a great thing but companies also use it to bypass things like pihole or NextDNS by hardcoding their DNS IP into an application and then sending all requests to that IP using Doh and Dot so that the end user has no control.

What you can then do is use any kind of edge router / firewall / networking equipment (virtual or physical) to block all the common DNS IP addresses directly and only allow addresses of your choice (such as NextDNS or other). This way when the application tries to make a connection using Doh or Dot to that specific IP address it ensures that it is blocked and everything must fall back to whatever DNS you have setup (which can also be running Doh or Dot for privacy / security). Some home routers have this functionality or you can setup a pfsense box relatively cheaply to achieve this. Unfortunately I have not yet found an easy / cheap solution for mobile devices if anyone has any suggestions.

Re:Is Google Analytics illegal in your country? by yessirwhatever on Wednesday January 19, 2022 @12:18PM (#29996573)
You can use Privacy Badger by EFF https://addons.mozilla.org/en-US/firefox/addon/privacy-badge...

Edit: Please note that they seem to have removed the link to Google fonts from the website now.

Re:Is Google Analytics illegal in your country? by samhw on Wednesday January 19, 2022 @11:40AM (#29995987)
> Is there are github page where one can block all google or fb used domains or ips?

Are you asking for a repo - for software? Or instructions? Or something to do with GitHub Pages? I may be able to help, but I don't quite follow.

Re:Is Google Analytics illegal in your country? by filoleg on Wednesday January 19, 2022 @12:01PM (#29996328)
I believe they are looking for something like PiHole, but a fully software solution. Not sure whether they are looking to go the open-router-firmware route or the route of some ublockOrigin config though.
Re:Is Google Analytics illegal in your country? by andai on Wednesday January 19, 2022 @12:36PM (#29996915)
Maybe just a hosts file? Though that only works for domain names, not IPs, and in my experience Chrome (-based browsers) bypasses it somehow.
Re:Is Google Analytics illegal in your country? by BlueTemplar on Wednesday January 19, 2022 @01:31PM (#29997898)
It's even more ironic that you (and the owners of that website, and PiHole) would then rely on Microsoft's servers (GitHub) to store and work on that code and data !
Re:Is Google Analytics illegal in your country? by deepstack on Friday January 21, 2022 @02:56AM (#30020499)
LOL, for sure. Gitlab or gittee page then ;-)
Re:Is Google Analytics illegal in your country? by dylan604 on Wednesday January 19, 2022 @12:02PM (#29996353)
Seems like you're looking for a browser extension. Something like uBlock, NoScript, etc will all do the blocking of the evils
Re:Is Google Analytics illegal in your country? by sensanaty on Wednesday January 19, 2022 @12:47PM (#29997114)
LocalCDN blocks all Google Fonts by default, causes lots of sites to display default sans-serif system fonts instead though