// ==UserScript== // @name 网课自动播放助手 // @namespace local.netclass.autoplay // @version 1.0.0 // @description 自动播放 / 自动连播下一节 / 静音倍速 / 后台防暂停 / 断点续播 / 弹窗与弹题处理。零外部依赖,适配党旗飘飘、超星学习通、智慧树、中国大学MOOC、雨课堂等站点,也可一键启用到任意网站。 // @author you // @license MIT // @match *://*/* // @match file:///* // @grant GM_getValue // @grant GM_setValue // @grant GM_deleteValue // @grant GM_registerMenuCommand // @grant GM_notification // @run-at document-start // ==/UserScript== /* ===================================================================== * 设计要点(和旧版党旗飘飘脚本的区别) * 1. 零依赖:不再 @require jQuery / jquery.cookie,CDN 挂了也不影响。 * 2. 不硬编码单一站点:核心只认