Google reCaptcha v3加载v2 API js

时间:2018-12-07 11:13:08

标签: javascript recaptcha recaptcha-v3

我们正在实施Google reCaptcha v3,并且所有设置均已按照in the official documentation

中的说明完成

但是,当页面加载时,我在浏览器网络中看到recaptcha __ [locale]>。js加载:

1)多次(可能是第一次加载api.js,第二次是执行grecaptcha.execute()操作) click to see the example

2)加载了API v2内容(该js文件的内容非常庞大,并且包含图形键v2 reCaptcha跟踪) click to see the example

有人知道如何避免这种情况吗?

我引用了the separate page,它具有reCaptcha v3演示实现,并且存在完全相同的问题。

谢谢。

0 个答案:

没有答案
相关问题