Greasy Fork is available in English.

云班课解锁拖动进度条

云班课视频资料解锁不可拖动进度条(火狐浏览器暂时不可用)

// ==UserScript==
// @name         云班课解锁拖动进度条
// @namespace    http://tampermonkey.net/
// @license      MintLatte
// @version      0.3
// @description  云班课视频资料解锁不可拖动进度条(火狐浏览器暂时不可用)
// @author       You
// @match        https://www.mosoteach.cn/web/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=qq.com
// @grant        none
// ==/UserScript==
var rowvideo = document.getElementsByClassName('res-row-open-enable res-row preview  drag-res-row')
for (let i = 0; i < rowvideo.length; i++) {
    rowvideo[i].onclick = function () {
        video()
    }
}
function video() {
    var videoplay = document.getElementsByTagName('video')
    setTimeout(function () {
        videoplay[0].pause()
    }, 2000)
    console.log('video');
    setTimeout(function () {
        var a = document.querySelector('.video-watch-to')
        a.style.width = '100%'
    }, 2100)
}