Skip to content

Instantly share code, notes, and snippets.

@markx
Created December 4, 2012 12:54
Show Gist options
  • Save markx/4203541 to your computer and use it in GitHub Desktop.
Save markx/4203541 to your computer and use it in GitHub Desktop.
将评教的默认评价设为优秀。
// ==UserScript==
// @name pingjiao
// @namespace
// @version 0.1
// @description to change the default choice of the judgement for teachers in UESTC
// @match http://ea.uestc.edu.cn/xsjxpj.aspx*
// @copyright 2012+, Mark
// ==/UserScript==
var i=0
s=document.getElementsByTagName('select')
for(i=1;i<s.length;i++){
s[i].value="优秀"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment