极验证码网址:http://www.geetest.com/ 需要自己去官网注册一个ID
gt就是你的ID
使用方法:
进入3311登录kangle控制后—-请求控制—BEGIN—插入
目标—继续
先选可标记模块—anti_cc
勾选white list、fix_url、skip_cache、flush
接下来
在anti_cc表格中填入以下代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | HTTP/1.1 503 OK Content-Type: text/html; charset=utf-8 Connection: close Cache-Control: no-cache,no-store Recaptcha: osyum < html > < body > < div id = "captcha-box" ></ div > < script src = "https://api.geetest.com/get.php" ></ script > < script > var captchaObj = new Geetest({ gt: "极验证码ID", product: "embed", lang: "zh-cn" }); captchaObj.appendTo("#captcha-box"); captchaObj.onSuccess(function () { location.href="{{murl}}"; }); captchaObj.getValidate(); </ script > </ body > </ html > |
在preset msg中选jsconcat