Crack Forclass

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

目前為 2020-07-20 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name               Crack Forclass
// @namespace          https://crack-forclass.houtarchat.ml/
// @version            2.4.8
// @description        这同样适用于 Forclass,Sunclass,271BAY,Zhizhiniao
// @author             Houtarchat
// @match              *://*.forclass.net/Student/Dati*
// @match              *://*.271bay.com/Student/Dati*
// @contributionURL    https://www.houtarchat.ml/donate.html
// @contributionAmount 5 RMB
// @grant              none
// @license            GNU General Public License
// ==/UserScript==

(function () {
  "use strict";
  function getQueryVariable(variable) {
    var query = window.location.search.substring(1);
    var vars = query.split("&");
    for (var i = 0; i < vars.length; i++) {
      var pair = vars[i].split("=");
      if (pair[0] == variable) {
        return pair[1];
      }
    }
    return false;
  }
  //Get url parameters

  g_debugmode = true;
  if (getQueryVariable("type") == "5") {
    window.alert("无需破解!");
    return;
  }
  window.alert(
    "Houtarchat 破解!\n错误修正:\n1.修正了无法上传图片的问题\n2.修正了无法启用剪切、复制、粘贴的问题\n3.修正了脚本有时无效的问题"
  );
  tick = function tick() {};
  var dajxurl =
    location.protocol + "//" + location.host + "/Student/Dajx?aidx=" + aidx;
  if (window.confirm("答案已经被检测到,是否为您打开?(请允许弹出窗口)")) {
    window.open(dajxurl);
  }
  window.onload = function () {
    $(".qoption input,.qoption textarea").unbind("cut copy paste");
  };
  $(".el-dati-btn-submit").click(function () {
    if (window.confirm("如果您无法提交,请点击确定以强制提交")) {
      uploadQuestionAnswer(paidx, aidx, true, window.alert("已提交!"));
    }
  });
})();