News for hackers. Stuff that matters.
Re:Blocky – a DNS proxy and ad-blocker for the local network by efitz on Monday April 08, 2024 @01:22PM (#39971827)
PiHole has an API that can be used to enable and disable the ad blocker.

I have a bunch of home automation set up, and through the use of HomeBridge and a plug-in I have a button in my Apple Home app on my iPhone to enable or disable the ad blocker. Since it's exposed as a smart home thing, you could hook it up to a voice assistant like Siri or Alexa.

I built an integration once for an Elgato StreamDeck.

You can also download apps that do the same thing; I have one called "Pi-Hole Remote" that works great.

Yes, ad blocker blockers are annoying, but they are trivially worked around.

Re:Blocky – a DNS proxy and ad-blocker for the local network by culopatin on Tuesday April 09, 2024 @04:19PM (#39983789)
I’ll definitely implement this as soon as I have the pihole pc back up. My girlfriend will be very happy