Greasy Fork

沈阳医学会继续教育v20220923

本插件适用于沈阳医学会(好医生)继续教育平台,可以直接跳过视频。需要把网页地址复制后,在新窗口打开,才能激活脚本。

目前为 2022-09-25 提交的版本。查看 最新版本

// ==UserScript==
// @name         沈阳医学会继续教育v20220923
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  本插件适用于沈阳医学会(好医生)继续教育平台,可以直接跳过视频。需要把网页地址复制后,在新窗口打开,才能激活脚本。
// @author       如花024
// @match       http://syyxh.haoyisheng.com/#/course*
 
// @grant        none
// ==/UserScript==
 

function skip() {
    let video = document.getElementsByTagName('video')
    for (let i=0; i<video.length; i=i+0.3) {
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
        video[i].currentTime = video[i].duration
    }
}
setInterval(skip,200)