Greasy Fork is available in English.
点每科的评价,自动点自动提交
当前为
// ==UserScript== // @name 三亚学院评教 // @namespace http://tampermonkey.net/ // @version 1.0 // @description 点每科的评价,自动点自动提交 // @author hpf // @match http*://jwxt.sanyau.edu.cn/* // @email [email protected] // @resource https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js // ==/UserScript== (function() { setInterval(function(){ var table = document.getElementById("table1"); if(table!=null) { var input = table.getElementsByTagName("input"); var rid = Math.floor(Math.random() * 3);//随机数 var i = 0 , num = 0; for(i = 0;i<30 ; i++){ rid = Math.floor(Math.random() * 3) var j= num+rid; //console.log(j) if(!input[j].click()){ input[j+1].click(); } num=num+11; } var bc = document.getElementById("bc"); bc.click(); } }, 800) })();