Essentially just an AdGuard Home installation on my VPS. I then added all the URLs and blocked them all in the web interface, and sniffed the network request in the browser console. Then, I unblocked them. For each one of these, I saved the corresponding "copy as CURL" command. When the button is pressed, the "blocked" command is called; after waiting 7200 seconds, the "unblock" command is called.