您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
自动挂机学习,轻松达到1000分钟的学习要求。
当前为
// ==UserScript== // @name 江苏省无锡教育公共服务平台学习外挂 // @namespace http://greasyfork.icu/zh-CN/users/41249-tantiancai // @version 0.2 // @description 自动挂机学习,轻松达到1000分钟的学习要求。 // @author Tantiancai // @match http://learn.wxjy.com.cn/lms/learning/* // @grant none // ==/UserScript== (function () { 'use strict'; var processTimer = null; var cntRetry = 0; function TimeProcess() { process += 60; currentPosition = process; if(videoTotalTime == 0) { var duration = player.getDuration(); videoTotalTime = parseInt(duration); cntRetry++; console.log('Retry:' + cntRetry); if(cntRetry >3) { window.location.reload(); } } if (videoTotalTime > 0) { player.stop(); if (process >= videoTotalTime) { process = videoTotalTime; currentPosition = videoTotalTime; learningSave(); document.getElementById('nextSectionLink').click(); window.clearInterval(processTimer); console.log('Complete'); } else { learningSave(); window.clearInterval(saveTimer); console.log('SaveTime'); } } } if (typeof (player) !== 'undefined') { window.clearInterval(clockTimer); processTimer = window.setInterval(TimeProcess, 60000); } else { document.getElementById('nextSectionLink').click(); } }) ();