2 Star 7 Fork 1

夜猫/学习通刷课脚本

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run.js 689 Bytes
一键复制 编辑 原始数据 按行查看 历史
夜猫 提交于 3年前 . add run.js.
var autoClick = window.setInterval(function() {
console.log("Start;");
let iframeOb = $("#iframe").contents().find("iframe").contents();
if(iframeOb.find("span.vjs-current-time-display").html() != "0:00" &&
iframeOb.find("span.vjs-current-time-display").html() ==
iframeOb.find("span.vjs-duration-display").html()){
$("div.orientationright ").click();
console.log("Next Video;");
}
iframeOb.find("button.vjs-big-play-button").click();
if(iframeOb.find("span.num").html() < iframeOb.find("span.all").html()){
iframeOb.find("a.nextBtn")[0].click();
}
iframeOb.find("li.vjs-menu-item")[0].click();
},1000)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/Nightcats/auto_mooc_script.git
git@gitee.com:Nightcats/auto_mooc_script.git
Nightcats
auto_mooc_script
学习通刷课脚本
master

搜索帮助