var total = 10;
var i = 1;
index.goodNumArr = index.goodNumArr.length == 3 ? [] : index.goodNumArr;
var _act_lsig = typeof _act_lsig == 'object' ? _act_lsig : [];
console.log('%c注意:这是测试代码','font-size:40px;color:red;');
console.group('当前已有' + index.goodNumArr.length + '个QQ号码可供选择!');
console.groupEnd();
console.group('您将要再获取' + total * 3 + '个QQ号码可供选择!');
console.groupEnd();
do {
(function() {
$.post(index.getNumUrl, index.submitObj, function(a) {
if (a.ec == 0) {
index.submitObj.act_lsig = a.act_lsig;
_act_lsig.push(a.act_lsig);
_act_lsig.push(a.act_lsig);
_act_lsig.push(a.act_lsig);
$.cookie.set("_act_lsig", a.act_lsig, "zc.qq.com", "/", 0.5 * 1000);
index.goodNumArr.push(a.new_uin_0);
index.goodNumArr.push(a.new_uin_1);
index.goodNumArr.push(a.new_uin_2);
index.submitObj.safeverifyResult = a.safeverifyResult;
index.submitObj.elevel = a.safeverifyResult;
}
console.warn('请耐心等待结果');
});
i++;
})();
} while (i <= total);
setTimeout(function() {
console.info('操作完毕!');
console.group('清空号码请刷新页面,或者控制台执行:');
console.log('index.goodNumArr=[]; ');
console.groupEnd();
if (!index.goodNumArr.length) {
console.error('你被黑了IP');
}
console.group(index.goodNumArr.length + '个QQ号码如下:');
console.groupEnd();
for (num in index.goodNumArr) {
console.groupCollapsed("%c"+index.goodNumArr[num],"color:red");
console.log('第' + (parseInt(num) + 1) + '个');
console.group('如需选择此号码,首先在控制台粘贴下面的代码执行:');
console.log('$.cookie.set("_act_lsig", "' + _act_lsig[num] + '", "zc.qq.com", "/", 0.5*1000);\nindex.act_lsig = "' + _act_lsig[num] + '"; \nindex.currenNum=' + num + ';');
console.groupEnd();
console.group('然后填写页面表格信息后提交即可!只是测试哈!');
console.groupEnd();
console.groupEnd();
}
}, total * 500);