Greasy Fork

来自缓存

Greasy Fork is available in English.

南京工业大学教务系统自动评教

可自动全部完全赞同,需手动更改选项才可提交!理论所有新版正方教务均可使用!

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         南京工业大学教务系统自动评教
// @namespace    Njtech
// @version      1.18.2.7
// @description  可自动全部完全赞同,需手动更改选项才可提交!理论所有新版正方教务均可使用!
// @author       Gafer
// @match        https://jwgl.njtech.edu.cn/xspjgl/*
// @run-at       document-start
// @grant       GM_addStyle
// @grant       GM_getValue
// @grant       GM_setValue
// @grant       GM_deleteValue
// @grant       GM_listValues
// @license     MIT/Expat License
// ==/UserScript==

$(document).ready(function(){
    var main = "<div class='panel panel-primary' style='border-bottom: #0483d4 2px solid !important'><div class='panel-heading'><h3 class='panel-title'>自动评教</div></div><div class='panel-body'><button class='btn btn-success btn-lg btn-block' id='auto'><span class='glyphicon glyphicon-ok-sign' aria-hidden='true'></span> 自动评教(全部完全赞同)</button></br></div><div class='panel-footer'><p>注意:本插件可自动全部完全赞同,需手动更改选项才可提交!理论所有新版正方教务均可使用!</p></div></div><div class='modal fade' id='atten' tabindex='-1' role='dialog' aria-labelledby='myModalLabel'><div class='modal-dialog' role='document'><div class='modal-content'><div class='modal-header'><button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button><h4 class='modal-title' id='myModalLabel'><span class='glyphicon glyphicon-warning-sign' aria-hidden='true'></span>  注意</h4></div><div class='modal-body'><h3> 已自动勾选为完全赞同!若满分无法提交,则需要修改选项才可提交!</h3></div><div class='modal-footer'><button type='button' class='btn btn-danger' data-dismiss='modal'>关闭</button></div></div></div></div>";
    $(".col-md-3").append(main);
});

 $("#auto").click(function(){
     $("input[data-dyf$='100']").attr("checked",true);
     $('#atten').modal('toggle');
 });