Fuck_ujs_Pj

江苏大学教务系统的自动评教脚本

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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 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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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         Fuck_ujs_Pj
// @namespace    http://tampermonkey.net/
// @version      0.4
// @description  江苏大学教务系统的自动评教脚本
// @author       You
// @match        http://xk2.ujs.edu.cn/xsjxpj2_2.aspx*
// @grant        none
// ==/UserScript==

//自动评教
function autoPj() {
    var rad_a,rad_b;
    rad_a = "Datagrid1__ctl";
    rad_b = "_rb_0";
    for(var i=2;i<9;i++)
    {
        document.getElementById(rad_a+i+rad_b).checked = true;
    }
    document.getElementById("Datagrid1__ctl8_rb_1").checked = true;
    document.getElementById("txt_pjxx").value = '老师备课充分,授课重点突出。';
    document.getElementById("Button1").click();
} autoPj();