Google如何使用跨域iframe进行验证?

时间:2018-11-26 10:46:39

标签: javascript iframe cross-domain recaptcha same-origin-policy

在使用Google的Recaptcha时,它将iframe注入页面,该iframe的来源为“ https://www.google.com/recaptcha/api2/bframe ....”

google iframe

但是,当我尝试使用其他域中的iframe时,我得到了DOMException,该跨域框架已被阻止。

my iframe

有人知道Google如何解决这个问题吗?

0 个答案:

没有答案