Greasy Fork is available in English.
主要是弄了弄选课系统,不好用别找我啊,哈哈。
当前为
// ==UserScript==
// @name whut相关网站优化
// @version 0.3.3
// @description 主要是弄了弄选课系统,不好用别找我啊,哈哈。
// @namespace TheFirstVoyageOfTheArk
// @author NoahSuo
// @include http*://218.197.102.183/Course/login.do?msg=*
// @require http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js
// @run-at document-end
// ==/UserScript==
$(document).ready(function(){
(function(){var e = document.getElementById("MyDiv").children[0];
e.outerHTML = `<div style="text-align: right; cursor: default; height: 15px;">
<h1 style="font-size: 20px;"
onclick="CloseDiv('MyDiv','fade')">关闭</h1></div>`})();
$($("ul.nav").children()[3]).after(`<li onmouseover="this.style.color='yellow';" onmouseout="this.style.color='white';"style="color: white;">排课班级</li>`);
$($("ul.nav").children()[4]).click(
function(){
$("div[title='备注']").first().text("排课班级");
$('tr[target="suid_obj"]').each(
function(){
banji = $(this).contents()[27].data.match(/>(.*)</g)[0].slice(1,-1);
$("td",$(this)).eq(11).text(banji);
}
)
}
)
});