// 周口市继续教育平台 http://www.zkjxjy.com/
// 自动提交问题
// 用极速模式进入课程后,按F12,在控制台内执行以下代码
// 出现 播放检测中。。。。。 算正常(30秒后出现)
// 视频更换后要重来一次
function continueLearning() {
console.log('播放检测中。。。。。');
var exam = $('.m-exam-dialog');
if (exam[0] != undefined) {
console.log('出现题目。。。。');
// 计算题目结果
if ($('.d-qus-body', exam)[0].attributes['data-id'].nodeValue == 'topic') {
var topic = $('.d-qus-body', exam)[0].innerText;
// topic = topic.replace(/\s+/g, '');
var value = topic.match(/\d/g);
$.each(value, function(i, n) {
value[i] = parseInt(n);
})
var operator = topic.match(/[\+\-x]/)[0];
console.log(topic + " 取运算符:" + operator);
var result = 0;
switch (operator) {
case '
周口市继续教育平台
最新推荐文章于 2021-07-26 07:03:19 发布