https://ca.turing.captcha.qcloud.com/TJNCaptcha-global.js will offer more prompt and efficient service guarantee in performance support, feature iteration, etc.https://ca.turing.captcha.qcloud.com/TCaptcha-global.js is still in use, we recommend that you gradually switch API calls to the latest version.<script src="https://ca.turing.captcha.qcloud.com/TCaptcha-global.js"></script>
<script src="https://ca.turing.captcha.qcloud.com/TJNCaptcha-global.js"></script>
var capctha = new TencentCaptcha('your appid', callback, {});captcha.show();
<body><!-- Container for package captcha --><div id="tcaptcha"></div></body><script>var capctha = new TencentCaptcha(document.getElementById("tcaptcha"), 'your appid', callback, {});captcha.show();</script>
<html lang="en"><head><script src="https://ca.turing.captcha.qcloud.com/TCaptcha-global.js"></script></head><script>// use tencent captcha sdkvar capctha = new TencentCaptcha('your appid', callback, {});captcha.show();</script></html>
<html lang="en"><head><script src="https://ca.turing.captcha.qcloud.com/TJNCaptcha-global.js"></script></head><body><!-- Container for package captcha --><div id="tcaptcha"></div></body><script>// use tencent captcha sdkvar capctha = new TencentCaptcha(document.getElementById("tcaptcha"), 'your appid', callback, {});captcha.show();</script></html>
SDK Version/Parameter Description | First Parameter | Second Parameter | Third Parameter | Fourth Parameter |
Captcha 1.0 | AppId(String) | Callback(Functionn) | Options(Object) | - |
Captcha 2.0 | DOM(Element Nodes ) | AppId(String) | Callback(Functionn) | Options(Object) |
Feedback