您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
合肥工业大学培养方案检查工具
- // ==UserScript==
- // @name HFUT Program
- // @namespace https://greasyfork.org/zh-CN/scripts/460368
- // @version 0.2
- // @description 合肥工业大学培养方案检查工具
- // @author xqm32
- // @include /^https?://jxglstu\.hfut\.edu\.cn/eams5-student/for-std/program-completion-preview/info/.*/
- // @icon none
- // @grant none
- // @license MIT
- // ==/UserScript==
- (function () {
- // 等待培养方案获取完毕
- setTimeout(() => {
- for (i of document.querySelectorAll("#course-info-table > tbody > tr > td"))
- if (i.textContent === "通过")
- i.parentElement.style.backgroundColor = "#aaeeee";
- else if (i.textContent === "在读")
- i.parentElement.style.backgroundColor = "#eeeeaa";
- else if (i.textContent === "未修")
- i.parentElement.style.backgroundColor = "#eeaaee";
- }, 1000)
- })()