PageSourceSearch

https://02.io/libs/others/TencentCaptcha.js

js 02.io collected 2026-10-09 04:32:48 UTC 712 bytes, 20 lines download raw bytes

1onIsOff = true;//用来控制重复运行的定时器的开关
2window.callback = function(res){
3if(res.ret === 0){
4   window.clearInterval(t2);//如果验证成功就结束定时器
5}
6if(res.ret === 2){
7   onIsOff = true;//如果验证失败就继续运行定时器
8}
9}
10
11var t2 = window.setInterval(function() {//重复运行的定时器,每一秒执行一次函数
12if (onIsOff == true){
13        act = document.activeElement.id;//获取当前焦点的id
14        if(act=="veditor")//判断评论输入框是否获得焦点
15        {
16        document.getElementById("TencentCaptcha").click();//触发id为TencentCaptcha的按钮
17        onIsOff = false;//触发过程中暂时关闭定时器
18        }
19}
20},1000);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.