// ==UserScript== // @name 2021华医网公需课 自动过题 // @namespace www.31ho.com // @version 1.1 // @description auto // @author 1990 // @match http://cme26.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 (){} })();