Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
东方怂天
cxmooc-tools
提交
6d4c7042
C
cxmooc-tools
项目概览
东方怂天
/
cxmooc-tools
通知
11
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
cxmooc-tools
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
6d4c7042
编写于
4月 27, 2019
作者:
C
CodFrm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完善文档&优化考试填空答题
上级
e8f23c1f
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
18 addition
and
17 deletion
+18
-17
README.md
README.md
+5
-4
docs/1-UserGuide/1-2-firefox.md
docs/1-UserGuide/1-2-firefox.md
+2
-1
docs/1-UserGuide/README.md
docs/1-UserGuide/README.md
+0
-4
docs/README.md
docs/README.md
+1
-0
src/config.js
src/config.js
+2
-2
src/cxmooc-tools/chaoxing/exam.js
src/cxmooc-tools/chaoxing/exam.js
+3
-4
src/server/listen.js
src/server/listen.js
+1
-0
src/tampermonkey/cxmooc.js
src/tampermonkey/cxmooc.js
+4
-2
未找到文件。
README.md
浏览文件 @
6d4c7042
...
...
@@ -4,7 +4,7 @@
![
GitHub tag (latest SemVer)
](
https://img.shields.io/github/tag/codfrm/cxmooc-tools.svg?label=version
)
## 关于超星慕课小工具
一个超星慕课刷课工具,火狐,谷歌,油猴支持.全自动任务,视频倍速秒过,作业题库,验证码自动打码(੧ᐛ੭挂科模式,启动)
一个超星慕课刷课工具,火狐,谷歌,油猴支持.全自动任务,视频倍速秒过,作业
考试
题库,验证码自动打码(੧ᐛ੭挂科模式,启动)
### 浏览器适配列表
*
[x] Chrome for PC
...
...
@@ -18,10 +18,11 @@
*
[x] 视频秒过
*
[x] 视频倍速
*
[x] 静音播放
*
[x]
自动
答题
*
[x]
任务
答题
*
[x] 自动阅读
*
[x] 自动填写验证码
*
[ ] 考试答题
*
[x] 考试答题
*
[ ] 作业答题
## 参与开发
> 如果你想参与开发,请阅读下面内容,如果只是使用本插件,请移步 **[使用文档](https://cx-doc.xloli.top/)**
...
...
@@ -62,12 +63,12 @@ npm run server
## 题库
1.
题库大部分答案来源于用户答题后的页面采集,
**所以需要有人第一次做过**
,后来的人才能搜索到题目。
2.
可以配置随机题目,当题库中没有的题目则会自动随机选择一个选项
3.
考试题库收集,需要考试完毕后,进入考试答案页面,插件会自动收集.
题库记录提示:
![](
/dist/images/3.webp
)
## 关于反馈
您可以通过Issues反馈,反馈时请尽量提供足够明确的信息。
...
...
docs/1-UserGuide/1-2-firefox.md
浏览文件 @
6d4c7042
...
...
@@ -10,4 +10,5 @@ title: FireFox插件
如果火狐出现题库错误等问题,请访问一次这个网址:
[
https://blog.icodef.com:8081/
](
https://blog.icodef.com:8081/
)
,允许访问通过
## 火狐手机版(Android)
> 待完善
\ No newline at end of file
> 待完善,可以下载app后在商店安装,但是功能并不保证稳定(超星手机浏览器无法完成视频任务点)
docs/1-UserGuide/README.md
浏览文件 @
6d4c7042
...
...
@@ -8,10 +8,6 @@ title: 使用教程
或者使用已经打包好了的浏览器版本使用:
[
打包版浏览器
](
/1-UserGuide/1-1-chrome.html#%E6%8B%96%E6%8B%BD%E5%AE%89%E8%A3%85crx%E6%A8%A1%E5%BC%8F
)
本扩展还支持手机刷课,
[
火狐手机版(Android)
](
/1-UserGuide/1-2-firefox.html#%E7%81%AB%E7%8B%90%E6%89%8B%E6%9C%BA%E7%89%88-android
)
也可以使用yandex浏览器手机刷课(文档待完善)
最近也发布了一个智慧树的版本,油猴脚本:
[
https://greasyfork.org/zh-CN/scripts/382037-%E6%99%BA%E6%85%A7%E6%A0%91%E5%B0%8F%E5%B7%A5%E5%85%B7
](
https://greasyfork.org/zh-CN/scripts/382037-%E6%99%BA%E6%85%A7%E6%A0%91%E5%B0%8F%E5%B7%A5%E5%85%B7
)
,插件是全部整合的
[
telegram群
](
https://t.me/joinchat/MHU8Gg2fP3Q51HLY2wqmQA
)
[
QQ群
]
(https://shang.qq.com/wpa/qunwpa?idkey=9bddd2564d84bd999940de422d1c0c70f87ecaf02fe9d7c60389fc2b376179eb)
...
...
docs/README.md
浏览文件 @
6d4c7042
...
...
@@ -41,4 +41,5 @@ footer: MIT Licensed | Copyright © 2018 CXmooc-tool developer Team
*
自动答题
*
自动阅读
*
自动填写验证码
*
考试答题
src/config.js
浏览文件 @
6d4c7042
module
.
exports
=
{
url
:
"
https://cx.icodef.com/
"
,
version
:
2.0
9
,
version
:
2.0
8
,
update
:
'
https://github.com/CodFrm/cxmooc-tools/releases
'
,
enforce
:
false
,
cx
:
{
...
...
@@ -9,7 +9,7 @@ module.exports = {
},
injection
:
''
,
hotversion
:
{
v2_08
:
2.08
2
,
v2_08
:
2.08
3
,
v2_07
:
2.071
,
v2_06
:
2.06
,
},
...
...
src/cxmooc-tools/chaoxing/exam.js
浏览文件 @
6d4c7042
...
...
@@ -93,13 +93,12 @@ module.exports = {
for
(
let
n
=
0
;
n
<
correct
.
length
;
n
++
)
{
if
(
correct
[
n
].
option
==
pos
)
{
notic
+=
'
第
'
+
pos
+
'
空:
'
+
correct
[
n
].
content
+
'
<br/>
'
;
let
ifDoc
=
$
(
options
[
i
]).
find
(
'
iframe
'
);
if
(
ifDoc
.
length
<=
0
)
{
var
uedit
=
$
(
options
[
n
]).
find
(
'
textarea
'
);
if
(
uedit
.
length
<=
0
)
{
this
.
notic
.
text
(
'
答案搜索错误
'
);
return
false
;
}
ifDoc
=
ifDoc
[
0
].
contentDocument
;
$
(
ifDoc
.
body
).
html
(
'
<p>
'
+
correct
[
n
].
content
+
'
</p>
'
);
UE
.
getEditor
(
uedit
.
attr
(
'
name
'
)).
setContent
(
correct
[
n
].
content
);
break
;
}
}
...
...
src/server/listen.js
浏览文件 @
6d4c7042
...
...
@@ -36,6 +36,7 @@ if (serverConfig.env == 'prod') {
var
vcode
=
new
vcodePack
();
}
app
.
set
(
'
trust proxy
'
,
'
loopback, 127.0.0.1/8
'
);
var
mooc
=
new
moocModel
();
var
redis
=
new
redisCli
();
app
.
use
(
bodyParser
.
json
());
...
...
src/tampermonkey/cxmooc.js
浏览文件 @
6d4c7042
// ==UserScript==
// @name 超星慕课小工具
// @namespace https://github.com/CodFrm/cxmooc-tools
// @version 2.0.
7
// @description 一个超星慕课刷课工具,火狐,谷歌,油猴支持.全自动任务,视频倍速秒过,作业题库,验证码自动打码(੧ᐛ੭挂科模式,启动)
// @version 2.0.
8
// @description 一个超星慕课刷课工具,火狐,谷歌,油猴支持.全自动任务,视频倍速秒过,作业
考试
题库,验证码自动打码(੧ᐛ੭挂科模式,启动)
// @author CodFrm
// @match *://*/mycourse/studentstudy?*
// @match *://*/ztnodedetailcontroller/visitnodedetail?*
// @match *://*/antispiderShowVerify.ac*
// @match *://*/html/processVerify.ac?*
// @match *://*/exam/test/reVersionPaperMarkContentNew?*
// @match *://*/exam/test/reVersionTestStartNew?*
// @grant GM_xmlhttpRequest
// @license MIT
// ==/UserScript==
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录