您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
适用于上大刷课-移除blur监听事件
// ==UserScript== // @license Apache License 2.0 // @name 上大刷课 // @namespace http://tampermonkey.net/ // @version 0.1.1 // @description 适用于上大刷课-移除blur监听事件 // @author You // @match https://sdjj.ct-edu.com.cn/learning/student/studentIndex.action // @icon https://www.google.com/s2/favicons?sz=64&domain=ct-edu.com.cn // @grant none // ==/UserScript== // @run-at document-start (function() { 'use strict'; let oldadd=EventTarget.prototype.addEventListener EventTarget.prototype.addEventListener=function (...args){ if (args.length !== 0 && (args[0] === 'blur')) { console.log(`阻止blur监听事件:${args[0]}`); return; } return oldadd.call(this,...args) } //setInterval(()=>{ // //轮询点下一课 // $(".layui-layer-btn0").click() //}, 1000); })();