Crack Forclass 3

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
Houtar Lyu
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
70
Βαθμολογίες
0 0 0
Έκδοση
1.4.4
Δημιουργήθηκε την
06/08/2020
Ενημερώθηκε την
23/12/2021
Μέγεθος
4 KB
Άδεια
GNU General Public License
Εφαρμόζεται σε

Here are the source code:

// ==UserScript==
// @name               Crack Forclass 3
// @namespace          https://www.forclass.tk/script?3
// @version            1.4.4
// @icon               https://houtar.coding.net/p/crackForclass/d/crackForclass/git/raw/master/icon.png
// @description        这同样适用于 Forclass,Sunclass,271BAY,Zhizhiniao
// @author             Houtarchat
// @match              *://*.forclass.net/Student/Dajx*
// @match              *://*.271bay.com/Student/Dajx*
// @match              *://web.zhizhiniao.com/Student/Dati*
// @contributionURL    https://www.houtarchat.ml/donate.html
// @contributionAmount 5 RMB
// @license            GNU General Public License
// @run-at             document-idle
// @noframes
// ==/UserScript==
(() => {

    /* jslint browser: true */
    /* global unsafeWindow */

    unsafeWindow.g_debugmode = true;
    if (unsafeWindow.getRequestParamValue('type') === '5' && window.confirm('补救&批阅?')) {
        unsafeWindow.addToQueue('UploadAttachmentPaperAnswer2', {
            aidx: unsafeWindow.getRequestParamValue('aidx'),
            session: unsafeWindow.getSession(),
            page: 1,
            studentAnswer: `<style type="text/css">#so360{white-space:nowrap}#so360 form{margin:0;padding:0}#so360_keyword{width:307px;height:24px;line-height:24px;font:14px arial;padding:2px 5px;margin-right:5px;border:2px solid #3eaf0e;outline:0;vertical-align:middle}#so360_submit{width:70px;height:32px;line-height:32px;border:0;color:#fff;background:#3fb30e;font-weight:700;font:bold 14px arial;padding:0;cursor:pointer;vertical-align:middle}.g-hd-logo{background-image:url(https://p.ssl.qhimg.com/t010e288a56a0b005e9.png);display:inline-block;height:22px;vertical-align:top;width:100px}.poweredby{margin-top:10px;margin-left:100px}</style><div id="so360"><form action="http://www.so.com/s" target="_blank" id="so360form"><input type="text" autocomplete="off" name="q" id="so360_keyword"> <input type="submit" id="so360_submit" value="搜 索"> <input type="hidden" name="ie" value="utf-8"></form><div class="poweredby">Powered by <a class="g-hd-logo" href="https://www.so.com/"></a> & <a href="https://space.bilibili.com/253498468" target="_blank">Houtarchat</a></div></div>`,
            studentAnswerURL: '',
            size: '',
        }, () => {
            unsafeWindow.http('GetStudentAnsweredPaper', {
                session: unsafeWindow.getSession(),
                page: 1,
                paidx: unsafeWindow.getRequestParamValue('paidx'),
                aidx: unsafeWindow.getRequestParamValue('aidx'),
            }, response =>
                unsafeWindow.addToQueue('SetAssignmentPaperAnswer', {
                    session: JSON.parse(unsafeWindow.sessionStorage.account).session,
                    paIdx: response[0].PAIdx,
                    score: '100',
                    comment: '',
                    page: 0,
                }, () => null, '', true), '');
        }, '', true);
        return;
    }

    switch (window.prompt('是否为您打开?\n输入0取消,\n输入1打开答题页面,\n输入2打开批阅页面')) {
        case '1':
            window.open(`${location.protocol}//${location.host}/Student/Dati${location.search}${location.hash}`);
            break;
        case '2':
            window.open(`${location.protocol}//${location.host}/Student/Pgzy${location.search}${location.hash}`);
            break;
        default:
            break;
    }


    window.onload = () => {
        $('.qoption input,.qoption textarea').unbind('cut copy paste');
    };
})();