altcha-org / altcha

GDPR compliant, self-hosted CAPTCHA alternative with PoW mechanism and advanced anti-spam filter.
https://altcha.org
MIT License
407 stars 12 forks source link

Allow for invisible Altcha #8

Closed enyo closed 8 months ago

enyo commented 8 months ago

I don't see a reason to ask my users to click a checkmark.

It would be great if there were an option for

  1. Automatically compute the PoW when the form is submitted, and/or
  2. Automatically compute the PoW when the form loads

Ideally both options would be possible.

ovx commented 8 months ago

Thank you for suggesting this.

Added auto=onload|onsubmit parameter in version 0.1.4 which allows for automatic verification when loaded (auto="onload") or when the form is being submitted (auto="onsubmit").

This is not exactly "invisible", the user should be visually notified that the verification is in progress (because it can take some time). If you want to make it truly invisible, you can do custom integration with your app, but the widget itself is for visual representation.