This document provides instructions on how to modify the zero-site-protector.php file in order to implement user agent blocking, which allows you to block access to your website from specific user agents by adding their regular expressions to the GLOBAL_UA_BLACKLIST array.
// Here, we can block visitors' useragent using RegEx.
define("GLOBAL_UA_BLACKLIST", array(
'/^Selenium/i',
'/^Puppeteer/i',
));
Note: Be sure to test your regular expressions before implementing them to make sure they are targeting the correct user agents.