极验验证码简单调用测试
<!DOCTYPE html><html>
<body>
<div id="captcha-box"></div>
<script src="https://api.geetest.com/get.php"></script>
<script>
var captchaObj = new Geetest({
gt: "0f952b4dac90c9d279a11b4739eedddb",
product: "embed",
lang: "zh-cn"
});
captchaObj.appendTo("#captcha-box"); // 绑定到id为captcha的元素上
captchaObj.onSuccess(function () {
location.href="http://www.itzmx.com/";
// 成功回调
});
captchaObj.getValidate(); // 获取成功后的验证信息,失败是返回false
</script>
</body>
</html>
开发者测试ID:421b84eeaee7b2aed4c0ec5706d8b571
开发者测试ID:ad872a4e1a51888967bdb7cb45589605
参考:http://www.geetest.com/install/sections/idx-client-sdk.html
用我们伟大的易语言,只要输入“生成验证码调用”就可以了{:122:} 只爱小玉 发表于 2016/2/18 08:49
用我们伟大的易语言,只要输入“生成验证码调用”就可以了
然而并不能用于到网页中 小樱 发表于 2016/2/18 16:04
然而并不能用于到网页中
噗,我是在黑好吧 只爱小玉 发表于 2016/2/18 19:50
噗,我是在黑好吧
啊咧,,,这么好的易语言,黑他干嘛
页:
[1]