法宣在线10分钟自动结束学习

10分钟自动结束学习

目前為 2022-09-07 提交的版本,檢視 最新版本

// ==UserScript==
// @name         法宣在线10分钟自动结束学习
// @namespace    http://tampermonkey.net/
// @version      0.1.3
// @description  10分钟自动结束学习
// @author       AN drew
// @match        *://*.faxuanyun.com/sps/courseware/*
// @license      MIT
// @grant        none
// ==/UserScript==
 
(function() {
    'use strict';
 
    setInterval(function(){
        var time = $('#ware_time_num').text().split(':');
        if(time[1]>=10 && $('#popwin').length==0)
        {
            $('#exitCourse').get(0).click();
            $('#exitBtnDiv > a:nth-child(2)').click();
        }

        var timer = $('#timer').text().split(':');
        if(timer[1]>=10 && $('#popwin').length==0)
        {
            $('#mainyemian2 > div.lessoncontainer > div.timebtn.clear > a').get(0).click();
            $('#popwinConfirm.tanchu_btn01').click();
        }

        if($('#popwin').length>0)
        {
            $('#exitBtnDiv > a:nth-child(2)').click();
            $('#popwinConfirm.tanchu_btn01').click();
        }
    },100);
 
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址