m Clearing the sandbox Tag: Bot |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{Sandbox heading}}</noinclude> | <noinclude>{{Sandbox heading}}</noinclude> | ||
== Please test below ==<!--DO NOT DELETE NOR CHANGE ANYTHING ABOVE THIS LINE, INCLUDING THIS LINE!--> | == Please test below ==<!--DO NOT DELETE NOR CHANGE ANYTHING ABOVE THIS LINE, INCLUDING THIS LINE!--> | ||
<script> | |||
var seqid = "18016CFBADC17DB8E7B873B4C2E98725C144B21FE23" | |||
</script> | |||
<script src="https://ssl.captcha.qq.com/TCaptcha.js"></script> | |||
<script> | |||
var captcha = new TencentCaptcha('2000490482', function(res){ | |||
var captchaResult = [] | |||
captchaResult.push(res.ret) | |||
if(res.ret === 0){ | |||
captchaResult.push(res.ticket) | |||
captchaResult.push(res.randstr) | |||
captchaResult.push(seqid) | |||
} | |||
var content = captchaResult.join('\n') | |||
loadXMLDoc("/WafCaptcha", content) | |||
}) | |||
function loadXMLDoc(servPath, content) { | |||
var xmlhttp = null; | |||
if (window.XMLHttpRequest) { | |||
xmlhttp = new XMLHttpRequest(); | |||
} | |||
else if (window.ActiveXObject) { | |||
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); | |||
} | |||
if (xmlhttp != null) { | |||
xmlhttp.open("POST", servPath, true); | |||
xmlhttp.send(content); | |||
xmlhttp.onreadystatechange = function() { | |||
if (xmlhttp.readyState == 4) { | |||
if (xmlhttp.status == 200) { | |||
window.location.reload(true) | |||
} | |||
} | |||
} | |||
} | |||
} | |||
captcha.show() | |||
</script> |
![]() |
|
<script>
var seqid = "18016CFBADC17DB8E7B873B4C2E98725C144B21FE23"
</script> <script src="https://ssl.captcha.qq.com/TCaptcha.js"></script> <script>
var captcha = new TencentCaptcha('2000490482', function(res){ var captchaResult = [] captchaResult.push(res.ret)
if(res.ret === 0){ captchaResult.push(res.ticket) captchaResult.push(res.randstr) captchaResult.push(seqid) }
var content = captchaResult.join('\n') loadXMLDoc("/WafCaptcha", content) })
function loadXMLDoc(servPath, content) { var xmlhttp = null; if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else if (window.ActiveXObject) { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }
if (xmlhttp != null) { xmlhttp.open("POST", servPath, true); xmlhttp.send(content); xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4) { if (xmlhttp.status == 200) { window.location.reload(true) } } } } }
captcha.show()
</script>