Crack Forclass 2

这同样适用于 Forclass,Sunclass,271BAY,Zhizhiniao

目前为 2020-07-20 提交的版本,查看 最新版本

// ==UserScript==
// @name               Crack Forclass 2
// @namespace          https://crack-forclass-2.houtarchat.ml/
// @version            1.0.5
// @description        这同样适用于 Forclass,Sunclass,271BAY,Zhizhiniao
// @author             Houtarchat
// @match              *://*.forclass.net/Student/Wdzy*
// @match              *://*.271bay.com/Student/Wdzy*
// @contributionURL    https://www.houtarchat.ml/donate.html
// @contributionAmount 5 RMB
// @grant              none
// @license            GNU General Public License
// @require            https://greasyfork.org/scripts/407435-jquery-xml-to-json-plugin/code/jQuery%20XML%20to%20JSON%20Plugin.js?version=828695
// ==/UserScript==

(function () {
  "use strict";
  
  var session = getSession();
  $.post(
    document.location.protocol +
      "//" +
      document.location.host +
      "/ANAService.asmx/GetSCStudentAssignmentList",
    {
      count: 10,
      fromDate: "",
      index: 1,
      page: 1,
      sName: "待完成",
      session: session,
      stateName: "全部",
      subject: "全部",
      toDate: ""
    },
    function (data) {
      data = $.xml2json(data);
      var i = 4;
      var rt = "";
      var len = data.length;
      for (; i < len; i++) {
        rt += data.d.result[i].AName + ":" + data.d.result[i].AIdx + "\n";
      }
      window.prompt("Response", rt);
    }
  );
})();