奥鹏教育视频刷课脚本-静音-自动下一课
// ==UserScript==
// @name 奥鹏教育南开大学刷课-静音-自动下一课(隐藏16倍速播放)
// @namespace 微信:only-blue-tears
// @version 0.1
// @description 奥鹏教育南开大学
// @author 一位不愿透露姓名的程小七
// @match *://learn.open.com.cn/StudentCenter/CourseWare/*
// @match *://learn.open.com.cn/*
// @match *://*.open.com.cn/*
// @grant none
// ==/UserScript==
// http://swk.cx330.live/#/goods?gid=27
(function() {
‘use strict’;
setInterval(function () {
for (var i = 0; i < document.getElementsByTagName(‘video’).length; i++) {
var current_video = document.getElementsByTagName(‘video’)[i]
//静音
current_video.volume = 0
//16倍速,不被系统认可,因此注释掉。需要开启请删除//
//current_video.playbackRate = 16.0
//视频播放结束后,模拟点击“下一课”
if(document.getElementsByClassName(“qrcodebox”)[0].style.display == “block”){
document.getElementsByClassName(“nextlink”)[0].click()
}
}
}, 2000)
})();
// http://swk.cx330.live/#/goods?gid=27
小白资源网 » 奥鹏教育视频刷课脚本-静音-自动下一课