// ==UserScript== // @name 2023广东省继续教育华医网公需课 视频自动学习过题 // @namespace www.31ho.com // @version 1.3 // @description 解决播放时弹窗问题! // @author 1990 // @match http://*.91huayi.com/course_ware/course_ware_polyv.aspx* // @run-at document-start // @grant none // @downloadURL none // ==/UserScript== function sleep(timeout) { return new Promise((resolve) => { setTimeout(resolve, timeout); }); } (async function () { 'use strict'; while(!window.player || !window.player.sendQuestion) { await sleep(20); } player.sendQuestion = function (){} })();