welearn随行课堂刷题教程
生活随笔
收集整理的這篇文章主要介紹了
welearn随行课堂刷题教程
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
軟件簡介:
WELearn隨行課堂一鍵自動刷課助手工具是一款電腦上的刷時長的課程學習的平臺,在WELearn隨行課堂刷時長工具中你可以體驗到一系列非常豐富的課程學習工具哦,一分鐘自動完成100%。“WE Learn”是一款集在線課程、學習資源、學習服務于一體的互動式自主學習軟件。該應用充分利用移動平臺特點,結(jié)合上海外語教育出版社權(quán)威教材資源,為學習者提供涵蓋聽、說、讀、寫、譯等多維度技能訓練平臺。
軟件功能:
輸入賬號密碼一鍵完成課程
可以自行選擇課程
正確率顯示為100%
已完成的章節(jié)會自動跳過
軟件下載:
https://wws.lanzous.com/b01hjs3ih?無需安裝任何瀏覽器插件,打開即可使用
1、先上效果圖
2、核心源代碼
Date.prototype.format = function () {var format = 'yyyy-MM-dd HH:mm:ss'var o = {'M+': this.getMonth() + 1, // month'd+': this.getDate(), // day'H+': this.getHours(), // hour'm+': this.getMinutes(), // minute's+': this.getSeconds(), // second'q+': Math.floor((this.getMonth() + 3) / 3), // quarterS: this.getMilliseconds() // millisecond}if (/(y+)/.test(format)) {format = format.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))};for (var k in o) {if (new RegExp('(' + k + ')').test(format)) {format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ('00' + o[k]).substr(('' + o[k]).length))};};return format}$('<style></style>').text(getText(zjsqCss)).appendTo($('head'))$('body').append(getText(zjsqHtml))makeDivDraggable('zjsqInfoBoxId')zjsqInfoDom = $('#zjysqInfo')return true} catch (e) {log('初始化控制臺框架異常:' + e)return false}; };function hrefParamsToArray (url) {return url.substring(url.indexOf('?') + 1).split('&').map((query) => query.split('=')).reduce((params, pairs) => (params[pairs[0]] = pairs[1] || '', params), {}) };function studyProcessRequester (data) {function getProcessText () {return `[${new Date().format()}] 完成進度:(${totalCount}/${randomRequestTimes}) / 成功數(shù):${successCount} / 失敗數(shù):${failedCount}`};if (stopFlag === true) return 0var lessonId = `lesson${currentLessonIndex}`var successCount = 0var failedCount = 0var totalCount = 0var randomRequestTimes = Math.floor((Math.random() * 87) + 56)const requestData = {courseOpenId: data.courseOpenId,openClassId: data.openClassId,cellId: data.cellId,cellLogId: data.cellLogId,picNum: Math.round(324 / randomRequestTimes),studyNewlyTime: Math.round(14640 / randomRequestTimes),studyNewlyPicNum: Math.round(324 / randomRequestTimes),token: data.guIdToken}log(`第(${currentLessonIndex}/${hrefs.length})課,課件:${data.cellName},類型:[${data.categoryName}]`)log(`本次隨機學習時間:${(randomRequestTimes * 10 / 60).toFixed(2)}分鐘 總請求次數(shù):${randomRequestTimes}`)log('現(xiàn)在開始上課!')zjsqInfoDom.append(`<div id="${lessonId}">${getProcessText()}</div>`)var ele = zjsqInfoDom[0]ele.scrollTop = ele.scrollHeight + 999var lessonProcessDom = $(`#${lessonId}`)for (let i = 0; i < randomRequestTimes; i++) {var defer = $.Deferred()$.ajax({async: true,timeout: 5000,type: 'post',url: urls2.Directory_stuProcessCellLog,data: requestData,dataType: 'json',success: function (responseData) {successCount += 1},error: function (response) {failedCount += 1},complete: function (response) {totalCount += 1lessonProcessDom.text(getProcessText())if (totalCount === randomRequestTimes) {totalStudyTime += randomRequestTimes * 10log(`當前課程(${lessonId}),已完成學習!三秒后開始下一課程...`)st(function () {return directoryDataRequester(currentLessonIndex)}, 4000)};}})requestData.picNum += Math.round(300 / randomRequestTimes)requestData.studyNewlyTime += Math.round(12640 / randomRequestTimes)requestData.studyNewlyPicNum += Math.round(300 / randomRequestTimes)};return defer };function directoryDataRequester (hrefIndex, changeDirectory = false, addData = false) {if (stopFlag === true) return 0var changedFlag = falseif (hrefIndex < hrefs.length) {currentLessonIndex = hrefIndex + 1if (!addData && changeDirectory !== true) log(`正在獲取課件(${currentLessonIndex}/${hrefs.length})的請求令牌...`)var requestData = hrefParamsToArray(hrefs[hrefIndex])if (addData) {Object.assign(requestData, addData)console.log(requestData)delete (requestData.flag)};?
總結(jié)
以上是生活随笔為你收集整理的welearn随行课堂刷题教程的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: android桌面部件开发教程,Andr
- 下一篇: 详解最实用的几种dll注入方式