Greasy Fork is available in English.
🐯全网免费仅做一款脚本🐯】、【🚀已完美兼容、智慧树、中国大学mooc、慕课、雨课堂、新国开、超星、学习通、知到、国家开放大学、蓝墨云、职教云、智慧职教、云班课精品课、山东专技、西财在线剩余网站仅支持部分功能🚀】【半兼容、绎通云、U校园、学堂在线】、【😎完美应付测试,全自动答题,一键完成所有资源学习(视频挨个刷时长不存在滴)、视频倍速😎】、
当前为
// ==UserScript==
// @name TOD🚀全平台网课助手【学习通 U校园ai 知到 英华 仓辉 雨课堂 职教云】【学起 青书 柠檬 睿学 慕享 出头科技 慕华】【国开 广开 上海开放大学】等平台 客服微信:WKWK796 自动刷课
// @namespace https://github.com/wkwk796
// @version 1.7.9.1
// @description 🐯全网免费仅做一款脚本🐯】、【🚀已完美兼容、智慧树、中国大学mooc、慕课、雨课堂、新国开、超星、学习通、知到、国家开放大学、蓝墨云、职教云、智慧职教、云班课精品课、山东专技、西财在线剩余网站仅支持部分功能🚀】【半兼容、绎通云、U校园、学堂在线】、【😎完美应付测试,全自动答题,一键完成所有资源学习(视频挨个刷时长不存在滴)、视频倍速😎】、
// @author Wkwk796
// @match *://*.chaoxing.com/*
// @match *://*.zhihuishu.com/*
// @match *://*.chaoxing.com/*
// @match *://mooc1.chaoxing.com/nodedetailcontroller/*
// @match *://*.chaoxing.com/mooc-ans/work/doHomeWorkNew*
// @match *://*.chaoxing.com/work/doHomeWorkNew*
// @match *://*.edu.cn/work/doHomeWorkNew*
// @match *://*.asklib.com/*
// @match *://*.chaoxing.com/*
// @match *://*.hlju.edu.cn/*
// @match *://lms.ouchn.cn/*
// @match *://xczxzdbf.moodle.qwbx.ouchn.cn/*
// @match *://tongyi.aliyun.com/qianwen/*
// @match *://chatglm.cn/*
// @match *://*.zhihuishu.com/*
// @match *://course.ougd.cn/*
// @match *://moodle.syxy.ouchn.cn/*
// @match *://moodle.qwbx.ouchn.cn/*
// @match *://elearning.bjou.edu.cn/*
// @match *://whkpc.hnqtyq.cn:5678/*
// @match *://study.ouchn.cn/*
// @match *://www.51xinwei.com/*
// @match *://*.w-ling.cn/*
// @match *://xuexi.jsou.cn/*
// @match *://*.edu-edu.com/*
// @match *://xuexi.jsou.cn/*
// @match *://spoc-exam.icve.com.cn/*
// @match *://*.icve.com.cn/*
// @match *://zice.cnzx.info/*
// @grant unsafeWindow
// @grant GM_xmlhttpRequest
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_info
// @grant GM_addStyle
// @grant unsafeWindow
// @grant none
// @license MIT
// @icon https://static.zhihuishu.com/static/img/favicon.ico
// ==/UserScript==
(function() {
'use strict';
// 开发者联系方式
const contactInfo = {
WX: 'wkwk796', // 修改为你的联系方式
website: 'https://github.com/yourrepo'
};
// 初始化配置
const config = {
videoSpeed: 2.0,
autoAnswer: true,
autoSubmit: true,
debugMode: false
};
// 创建控制面板
function createControlPanel() {
const panel = document.createElement('div');
panel.style = 'position:fixed;top:20px;right:20px;background:#fff;padding:15px;box-shadow:0 0 10px rgba(0,0,0,0.2);z-index:9999;';
panel.innerHTML = `
<h3 style="margin:0 0 10px;color:#1890ff;">学习助手控制面板</h3>
<div>开发者微信:<strong>${contactInfo.WX}</strong></div>
<div>版本:v${GM_info.script.version}</div>
<hr>
<label>视频倍速:<input type="number" value="${config.videoSpeed}" step="0.1" id="speedInput"></label>
<button id="saveBtn" style="margin-left:10px;">保存配置</button>
`;
document.body.appendChild(panel);
// 保存配置
document.getElementById('saveBtn').addEventListener('click', () => {
config.videoSpeed = parseFloat(document.getElementById('speedInput').value);
GM_setValue('config', config);
alert('配置已保存!');
});
}
// 视频加速通用逻辑
function handleVideoSpeed() {
const video = document.querySelector('video');
if (video) {
video.playbackRate = config.videoSpeed;
video.addEventListener('ended', autoNextChapter);
}
}
// 自动答题逻辑(示例)
function handleAutoAnswer() {
if (config.autoAnswer) {
document.querySelectorAll('.question-item').forEach(item => {
const correctOption = item.querySelector('.correct-option');
if (correctOption) correctOption.click();
});
}
}
// 自动下一章节
function autoNextChapter() {
const nextBtn = document.querySelector('.next-btn, .next-chapter');
if (nextBtn) setTimeout(() => nextBtn.click(), 2000);
}
// 初始化
function init() {
createControlPanel();
const savedConfig = GM_getValue('config');
if (savedConfig) Object.assign(config, savedConfig);
// 平台功能分发
if (location.host.includes('chaoxing')) {
handleVideoSpeed();
handleAutoAnswer();
} else if (location.host.includes('zhihuishu')) {
handleVideoSpeed();
}
// 调试信息
if (config.debugMode) {
console.log(`%c脚本已启动!联系开发者:${contactInfo.WX}`,
'background:#4CAF50; color:white; padding:4px;');
}
}
// 延迟加载
window.addEventListener('load', () => setTimeout(init, 1500));
})();