Created
June 19, 2013 07:28
-
-
Save wcp1231/5812294 to your computer and use it in GitHub Desktop.
自动填写BISTU教务系统的教学质量评估,只要打开教学质量评估页面即可。不过得自己点击提交按钮。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name BISTU_Auto_Evaluate | |
// @namespace http://wcp1231.github.io | |
// @include http://jwgl.bistu.edu.cn/* | |
// @version 1 | |
// ==/UserScript== | |
for(var i = 2; i < 8; i++) { | |
var id = "DataGrid1__ctl" + i + "_JS1"; | |
document.getElementById(id).selectedIndex = 1; | |
} | |
var finsh_btn = document.getElementById('Button2'); | |
if(finsh_btn.hasAttribute('disabled')) { | |
document.getElementById("Button1").click(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment