您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
自动好评
当前为
// ==UserScript== // @name 南京大学教务网课程评估自动好评 // @namespace http://tampermonkey.net/ // @version 0.1 // @description 自动好评 // @author njuer // @match https://ehallapp.nju.edu.cn/jwapp/sys/wspjyyapp/*default/index.do?* // @icon https://www.nju.edu.cn/images/favicon.png // @license MIT // @grant none // ==/UserScript== (function() { 'use strict'; function selectElementsWithText(text) { const inputElements = document.querySelectorAll('input[type="radio"]'); for (const inputElement of inputElements) { if (inputElement.dataset.xDafxsm === text) { inputElement.checked = true; } } } // 调用函数并传入需要识别的文本 const targetText = "很好"; setInterval(() => selectElementsWithText(targetText), 1000); // 每隔1秒执行一次 })();