// ==UserScript== // @name (已失效)2024年智慧中小学暑假教师研修秒过 // @namespace http://tampermonkey.net/ // @version 1145114.0 // @author Alcex // @description 国家中小学教育平台的运维,修bug的程序员,我上早八,wcnm,刚出来你妈就修啊,修那么勤快。也没见你家政府网站的漏洞修修啊,xss漏洞和文件上传漏洞都不修笑死我了,这么努力啊,笑死我了,不让我刷我他妈就打你网站,我只想告诉那些程序员,脚本失效了,并不代表我认输了,以后还有可能复活 // @license MIT // @match https://basic.smartedu.cn/* // @match https://www.smartedu.cn/* // @match https://teacher.vocational.smartedu.cn/* // @match https://core.teacher.vocational.smartedu.cn/* // @downloadURL none // ==/UserScript== (function() { 'use strict'; function m() { try { var v = document.querySelector("video"); if (v && v.duration) { if (v.paused) { v.play().catch(function() {}); } else { v.dispatchEvent(new Event("ended")); v.muted = true; if (isFinite(v.duration)) { v.currentTime = Math.floor(v.duration); } v.play().catch(function() {}); } } } catch (e) { console.error("Error in m function:", e); } finally { setTimeout(m, 1000); } } function r() { try { var f = document.querySelector(".fish-modal-root"); if (f) { f.remove(); } } catch (e) { console.error("Error in r function:", e); } finally { setTimeout(r, 1000); } } m(); r(); })();