使用超级的简单,自动刷视频,自动答题。自动找答案,还能隐藏在后台
主要功能:
打开其他网页或者缩小后不暂停
能够自动播放下一集;
可以自动跳过验证码;
支持快进、拖拉进度、1.5倍速度播放;
软件界面截图:
软件链接:https://wukongstudio.lanzoui.com/b01hh7okh
主要实现的代码如下:
function fillAnswer(obj, tip) {
var $input = $(':radio, :checkbox', '.Cy_ulBottom'),
str = String(obj.data).toCDB() || new Date().toString(),
data = str.split(/#|\x01|\|/),
opt = obj.opt || str,
btn = $('.saveYl:contains(下一题)').offset();
// $input.filter(':radio:checked').prop('checked', false);
obj.code > 0 && $input.each(function(index) {
if (this.value == 'true') {
data.join().match(/(^|,)(正确|是|对|√|T|ri)(,|$)/) && this.click();
} else if (this.value == 'false') {
data.join().match(/(^|,)(错误|否|错|×|F|wr)(,|$)/) && this.click();
} else {
index = setting.TiMu[3][index].toCDB() || new Date().toString();
index = $.inArray(index, data) + 1 || (setting.TiMu[1] == '1' && str.indexOf(index) + 1);
Boolean(index) == this.checked || this.click();
}
}).each(function() {
if (!/^A?B?C?D?E?F?G?$/.test(opt)) return false;
Boolean(opt.match(this.value)) == this.checked || this.click();
});
if (setting.TiMu[1].match(/^[013]$/)) {
tip = $input.is(':checked') || setting.none && (($input[Math.floor(Math.random() * $input.length)] || $()).click(), ' ');
} else if (setting.TiMu[1].match(/^(2|[4-9]|1[08])$/)) {
data = String(obj.data).split(/#|\x01|\|/);
tip = $('.Cy_ulTk textarea').each(function(index) {
index = (obj.code > 0 && data[index]) || '';
UE.getEditor(this.name).setContent(index.trim());
}).length;
tip = (obj.code > 0 && data.length == tip) || setting.none && ' ';
setting.len = str.length * setting.time / 10;
}
if (tip == ' ') {
tip = '已执行默认操作';
} else if (tip) {
tip = '自动答题已完成';
} else if (tip === undefined) {
tip = '该题型不支持自动答题';
} else {
tip = '未找到有效答案';
}
if (btn) {
tip += setting.jump ? ',即将切换下一题' : ',未开启自动切换';
setInterval(function() {
if (!setting.jump) return;
var mouse = document.createEvent('MouseEvents'),
arr = [btn.left + Math.ceil(Math.random() * 80), btn.top + Math.ceil(Math.random() * 26)];
mouse.initMouseEvent('click', true, true, document.defaultView, 0, 0, 0, arr[0], arr[1], false, false, false, false, 0, null);
_self.event = $.extend(true, {}, mouse);
delete _self.event.isTrusted;
_self.getTheNextQuestion(1);
}, setting.len || Math.ceil(setting.time * Math.random()) * 2);
} else {
setting.$btn.eq(1).hide();
tip = '答题已完成,请自行查看答题详情';
}
setting.$div.data('html', tip).siblings('button:eq(0)').hide().click();
}