?
avatar mhajder
mhajder
9 Apr 2020

Is your feature request related to a problem? Please describe.

On the CloudFlare blog, an article appeared yesterday, from which we can learn that they abandoned reCaptcha in favor of hCaptcha. This is because apparently Google plans to change reCaptcha billing to paid.

Earlier this year, Google informed us that they were going to begin charging for reCAPTCHA.
https://blog.cloudflare.com/moving-from-recaptcha-to-hcaptcha/

Is this a good time to give the Joomla user the opportunity to choose?

As you know, Google does not connect with privacy is the first advantage of hCaptch. Secondly, hCaptcha has more options for captcha settings. As the last one can add that hCaptcha pays users who place it on their pages for captcha solutions.

Describe the solution you'd like

I can create a plugin but why? We need to show users that maybe it's time for a change. That's why it's best to convert these reCaptcha plugins (in Joomla Core) into hCaptcha. The cool thing is that hCaptcha has the same API as reCaptcha so it will only be a few minutes of work.

Additional context

Of course, I do not mean removing the possibility of placing reCaptcha. I just want to add a second official option to embed another captcha.

hCaptcha Configuration: https://docs.hcaptcha.com/configuration

We can't make it happen the same as with Google Maps!

avatar mhajder mhajder - open - 9 Apr 2020
avatar joomla-cms-bot joomla-cms-bot - change - 9 Apr 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Apr 2020
avatar alikon
alikon - comment - 10 Apr 2020

much more a work for an 3dp extension i guess than core

avatar ReLater
ReLater - comment - 10 Apr 2020

Hm, I personally would be happy if it would become a core plugin and to move away from Google whereever possible. The linked blog post above has some good arguments against Google reCaptcha (if they are true). For example:

We also had issues in some regions, such as China, where Google's services are intermittently blocked.

BUT: I have no idea yet if hcaptcha is a reliable alternative, who and what hcaptcha.com is and so on.

Just a general statement.

avatar brianteeman
brianteeman - comment - 11 Apr 2020

You have a valid point about google recaptcha but there is nothing to indicate that it would be any better with hcaptcha

avatar mhajder
mhajder - comment - 11 Apr 2020

You have a valid point about google recaptcha but there is nothing to indicate that it would be any better with hcaptcha

But it is better. hCaptcha gives us the ability to choose which pictures will be displayed to the user. Let's say that we have a website for children and parents, it is better to display animals for them than any other pictures. We have several options to choose from.
image
And here we choose:
image

As we know, captcha solving trains google artificial intelligence for free. For this hCaptcha pays us for it: https://medium.com/@hCaptcha/how-hcaptcha-calculates-rewards-1195e6f18284

And last but not least, Google is changing the policy for reCaptcha.
Soon we will have to pay for using it!

avatar brianteeman
brianteeman - comment - 11 Apr 2020

I dont see the need for this in the core but if you want to create a plugin for this for review then it can be considered.

avatar mhajder
mhajder - comment - 11 Apr 2020

I dont see the need for this in the core but if you want to create a plugin for this for review then it can be considered.

I also currently do not see the need, but as Google actually makes you pay for reCaptcha as for the Google Maps API, introducing an alternative to Joomla Core is a good idea.

avatar pe7er
pe7er - comment - 20 Apr 2020

After I read about Cloudflare moving from reCAPTCHA to hCaptcha, I wrote a small hCaptcha plugin for Joomla 3.9: https://github.com/pe7er/hCaptcha

Shall I submit a PR for it to Joomla 4?

avatar ReLater
ReLater - comment - 22 Apr 2020

Shall I submit a PR for it to Joomla 4?

I would like it. Tested with the master.zip of your repository (because release does not install in Joomla 3.9). The configuration on hcaptcha.com is easy and intuitive even for several domains. And it technically worked well in a Joomla contact form.

avatar pe7er
pe7er - comment - 22 Apr 2020

For Joomla 3.9 I have an installable package. The link is available in the description of https://github.com/pe7er/hCaptcha

@ReLater Did you get my 3.9 code to work in Joomla 4?

I've been working on a PR for Joomla 4 but I could not get it to work.
However the default Google reCaptcha in Joomla 4 seems broken too.
I've created an issue for that: #28758
When reCaptcha works, I will submit my hCaptcha PR to Joomla 4.

avatar ReLater
ReLater - comment - 22 Apr 2020

Did you get my 3.9 code to work in Joomla 4?

No, because I didn't test that.

For Joomla 3.9 I have an installable package. The link is available in the description

I don't read descriptions if there's a release tabulator ;-) But I used the wrong file "plg_captcha_hCaptcha-1.0.0" (whatever it is).
I've tested with the master.zip only to see if the whole procedure, e.g. creating a sitekey, is less annoying than weird Google API GUI hell. It is.

avatar mhajder
mhajder - comment - 22 Apr 2020

I've tested with the master.zip only to see if the whole procedure, e.g. creating a sitekey, is less annoying than weird Google API GUI hell. It is.

Yes. hCaptcha offers greater configuration options and easier key acquisition.

avatar ReLater
ReLater - comment - 22 Apr 2020

hCaptcha offers greater configuration

From my side the thumb up is primarily for the intuitive registration and configuration surface. For users. Not for "developer nerds" ;-)

avatar mhajder
mhajder - comment - 22 Apr 2020

hCaptcha offers greater configuration

From my side the thumb up is primarily for the intuitive registration and configuration surface. For users. Not for "developer nerds" ;-)

It is worth adding that it is also another possibility for monetizing our website.

avatar SpyderZ
SpyderZ - comment - 24 Apr 2020

Google is intrusive and evil, it should be deleted where ever possible. hCaptcha is amazing, make this happen.

avatar alikon alikon - change - 25 Apr 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-04-25 14:56:05
Closed_By alikon
avatar alikon
alikon - comment - 25 Apr 2020

please test #28798

avatar alikon alikon - close - 25 Apr 2020
avatar pe7er
pe7er - comment - 25 Apr 2020

I've created a PR to add hCaptcha functionality to Joomla 4: #28798

Note that you'll need this PR #28785 that solves an issue with the Captcha's in Joomla 4, to get hCaptcha to work.

Add a Comment

Login with GitHub to post a comment