News for hackers. Stuff that matters.
Re:Ad blocking with Raspberry Pi and Pi-hole by css on Monday May 04, 2020 @06:52PM (#23074319)
I have an iOS shortcut that hits the disable endpoint, so they have a button on their phone they tap that will disable it for 30 minutes at a time.
Re:Ad blocking with Raspberry Pi and Pi-hole by gpsz on Tuesday May 05, 2020 @12:24AM (#23076469)
Yeah, I found and tweaked this for my needs: https://routinehub.co/shortcut/5005

Works great, even if I dont invoke Siri to trigger it.

Re:Ad blocking with Raspberry Pi and Pi-hole by jedberg on Monday May 04, 2020 @06:56PM (#23074347)
Clever!

They would still have to know that the site isn't working because of blocking, but I suppose developing the habit of "website doesn't work, press the magic button and try again" isn't so bad.

If I do PiHole just for myself I think I'll add this button. Thanks!

Re:Ad blocking with Raspberry Pi and Pi-hole by LynxInLA on Monday May 04, 2020 @06:57PM (#23074360)
Any chance you can share that shortcut? I currently have a bookmark that my roommate can hit, but a shortcut would be better.
Re:Ad blocking with Raspberry Pi and Pi-hole by css on Monday May 04, 2020 @06:59PM (#23074372)
I use a modified version of this with hard coded times so there is no user input: https://routinehub.co/shortcut/2904
Re:Ad blocking with Raspberry Pi and Pi-hole by christian_fei on Monday May 04, 2020 @07:05PM (#23074415)
thank you for sharing
Re:Ad blocking with Raspberry Pi and Pi-hole by illnewsthat on Monday May 04, 2020 @08:40PM (#23075085)
I do the same and use the shortcut at least once a day for things I don't want to permanently unblock but might need occasionally. I set it via a shortlink on bit.ly so it's easy for people to remember/bookmark.

It points to ..../admin/api.php?disable=300&auth=authkey

300: Time in seconds to disable it.

Auth key: You need to have a password set for the Pi-hole installation, and the API key is the salted version of that password. You can find it as the value for the key WEBPASSWORD in your /etc/pihole/setupVars.conf file.

Re:Ad blocking with Raspberry Pi and Pi-hole by christian_fei on Monday May 04, 2020 @06:53PM (#23074330)
what an automation!