安财URP教务系统助手

进行快速教学评估,用于辅助URP教务系统的使用,

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         安财URP教务系统助手
// @namespace    http://github.com/
// @version      0.1.1
// @description  进行快速教学评估,用于辅助URP教务系统的使用,
// @author       匿名
// @match        http://jwcxk2.aufe.edu.cn/student/teachingEvaluation/evaluation/evaluationPage
// @grant        xfl03
// ==/UserScript==

(function() {
    'use strict';

    $(document).ready(function () {

        //自动选择最优选项
        var keyWord=["非常好"];
        $(".ace").each(function(){
            var self=$(this);
            var text=$(this).next().next().html();
            keyWord.forEach(function(value){
                if(text.indexOf(value)!=-1)
                    self.click();
            });
            console.log(text);
        })

        //自动填写主观评价
        var content="上课有热情,精神饱满,有感染力";//自行填写
        $("textarea").val(content);

//两分钟后提交
        setTimeout(function(){$("#buttonSubmit").click()},1000*60*2.1);



    });


})();