- 🇧🇪Belgium weseze
This is a cookiebot issue, not an antibot issue.
You can try and bypass the issue with this custom code in a custom module:
/** * Prevent cookiebot from blocking antibot. (testing code: to evaluate) * * Implements hook_library_info_alter(). */ function MY_MODULE_library_info_alter(&$libraries, $extension) { if (isset($libraries['antibot.form'])) { $libraries['antibot.form']['js']['js/antibot.js']['attributes'] = ['data-cookieconsent' => 'ignore']; } if (isset($libraries['drupalSettings'])) { $libraries['drupalSettings']['js']['misc/drupalSettingsLoader.js']['attributes'] = ['data-cookieconsent' => 'ignore' ]; } if (isset($libraries['drupal'])) { $libraries['drupal']['js']['misc/drupal.js']['attributes'] = ['data-cookieconsent' => 'ignore']; } }
However, the better solution is to disable auto-blocking mode in cookiebot and handle JS files which set cookies properly from within Drupal.
Automatically closed - issue fixed for 2 weeks with no activity.