Greasy Fork is available in English.
自动登录【中国农业大学·校园网】
// ==UserScript==
// @name 中国农业大学·校园网 自动登录
// @namespace Jia.ys
// @version 1.1
// @description 自动登录【中国农业大学·校园网】
// @author Tosh
// @include http://10.3.191.8/
// @include http://10.3.191.9/
// @include http://10.3.38.7/
// @require http://code.jquery.com/jquery-1.11.0.min.js
// ==/UserScript==
// 如果你想注销后也自动登录,请将这两行代码插入第7行
// @include http://10.3.191.8/a79.htm
// @include http://10.3.191.8/a79.htm?isReback=*
var username = "这里填账号";
var password = "这里填密码";
if (username == "这里填账号" || password == "这里填密码") {
alert("请去用户脚本管理器中,找到此脚本的第 15、16 行代码,添加自己的账号与密码");
} else {
(function() {
if (document.title == '上网登录页'){
setTimeout(function(){
$( "input[name='DDDDD']").attr("value",username);
$( "input[name='upass']").attr("value",password);
ee(1);
},600);
}
})();
}
// Hello my friend, this is my contact information, welcome to advise
// Blog: https://www.cnblogs.com/rsmx/
// GitHub: https://github.com/JiaYunSong
// Date: 2020-09-28 21:52