🏠 

Greasy Fork is available in English.

QGG网课处理平台【学习通 U校园ai 知到 英华 仓辉 雨课堂 职教云】【学起 青书 柠檬 睿学 慕享 出头科技 慕华】【国开 广开】等平台,目前只是框架,具体功能自行添加 客服微信:wkds857

目前支持以下平台详情:【学习通】【智慧树】【U校园】【清华社】【智慧教】【运动世界校园】【论文辅助ai】【学习强国】【fif】【池馆】【雨课堂】【学堂在线】【优学院】【社会公益】【Utalk】【welear】【安全微伴】【重庆高校】【e会学】【川农在线】【阿尔法编程】【小雅】【中国大学mooc】【i学】【speexx】【木玛】【人卫慕课】【高校邦】【智慧职教】【普法网】【北华大学】【在浙学【学习公社】【国家开放大学】【国开实验学院】【学起】【青书学堂】【广开】【云上河开】【讯网】【电中在线】【广西开放大学】【梦想在线】【华莘学堂】【云班课】【东财会计系列】【朝明在线】【麦能网】【融学】【168网校【联大】【柠檬文才】【优课学堂】【安徽继续教育【上海开放大学】【思钮教育】【春风雨】【龙知网】【一路学】【慕华】【新京人】【点墨云】【画课堂】【课程伴侣】【出头科技】【良师在线】【在浙学】【棉花糖】【朝明在线】【国培网】【河南宗教】【睿学】【兰州继教】【文鼎】【168网校】【我学习】【和学在线】【慕享】【含弘慕课】【医博士】【微知库】【奥鹏】【国家智慧中小学】等平台,客服微信:wkds857


安装此脚本?
// ==UserScript==
// @name         QGG网课处理平台【学习通 U校园ai 知到 英华 仓辉 雨课堂 职教云】【学起 青书 柠檬 睿学 慕享 出头科技 慕华】【国开 广开】等平台,目前只是框架,具体功能自行添加 客服微信:wkds857
// @namespace    http://tampermonkey.net/
// @version      1.0.2
// @description  目前支持以下平台详情:【学习通】【智慧树】【U校园】【清华社】【智慧教】【运动世界校园】【论文辅助ai】【学习强国】【fif】【池馆】【雨课堂】【学堂在线】【优学院】【社会公益】【Utalk】【welear】【安全微伴】【重庆高校】【e会学】【川农在线】【阿尔法编程】【小雅】【中国大学mooc】【i学】【speexx】【木玛】【人卫慕课】【高校邦】【智慧职教】【普法网】【北华大学】【在浙学【学习公社】【国家开放大学】【国开实验学院】【学起】【青书学堂】【广开】【云上河开】【讯网】【电中在线】【广西开放大学】【梦想在线】【华莘学堂】【云班课】【东财会计系列】【朝明在线】【麦能网】【融学】【168网校【联大】【柠檬文才】【优课学堂】【安徽继续教育【上海开放大学】【思钮教育】【春风雨】【龙知网】【一路学】【慕华】【新京人】【点墨云】【画课堂】【课程伴侣】【出头科技】【良师在线】【在浙学】【棉花糖】【朝明在线】【国培网】【河南宗教】【睿学】【兰州继教】【文鼎】【168网校】【我学习】【和学在线】【慕享】【含弘慕课】【医博士】【微知库】【奥鹏】【国家智慧中小学】等平台,客服微信:wkds857
// @author       QGG
// @match        *://*.chaoxing.com/*  // 学习通
// @match        *://*.zhihuishu.com/* // 智慧树
// @match        *://*.u.unipus.cn/*   // U校园
// @match        *://*.xueqi.cn/*      // 学起
// @match        *://*.qingshuxuetang.com/* // 青书学堂
// @match        *://*.umajor.org/*
// @match        *://*.zjy2.icve.com.cn/*
// @match        *://*.yuketang.cn/*
// @match        *://*.tsinghua.edu.cn/*
// @match        *://*.utalk.com/*
// @match        *://*.icourse163.org/*
// @match        *://*.yinghuaonline.com/*
// @match        *://*.cqgx.com/*
// @match        *://*.zjy2.icve.com.cn/*
// @match        *://*.yuketang.cn/*
// @match        *://*.kaoshixing.com/*
// @match        *://*.168wangxiao.com/*
// @match        *://*.lemonwen.com/*
// @match        *://*.yixuebao.com/*
// @match        *://*.youkexuetang.com/*
// @match        *://*.xiaoetong.com/*
// @match        *://*.ahjxjy.cn/*
// @match        *://*.shou.edu.cn/*
// @match        *://*.hqu.edu.cn/*
// @match        *://*.hexue.com.cn/*
// @match        *://*.pmph.com/*
// @match        *://*.ouchn.cn/*
// @match        *://*.scetc.edu.cn/*
// @match        *://*.zjedu.org/*
// @match        *://*.cug.edu.cn/*
// @match        *://*.zjzs.net/*
// @match        *://*.hneao.cn/*
// @match        *://*.ulearning.cn/*
// @match        *://*.xueqiplus.com/*
// @match        *://*.qingshuxuetang.com/*
// @match        *://*.xuetangx.com/*
// @match        *://*.yinghuaxuetang.com/*
// @match        *://*.gdou.com/*
// @grant        GM_addStyle
// @grant        GM_notification
// @license      MIT
// ==/UserScript==
(function() {
'use strict';
// 假设的免费AI题库API
const AIQuestionBankAPI = {
getAnswer: async function(question) {
// 这里应该是调用一个真实的API来获取答案
// 以下代码仅为示例,实际情况下需要根据API的具体实现来编写
const response = await fetch('https://api.freeaitestbank.com/getAnswer', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ question })
});
const data = await response.json();
return data.answer;
}
};
// 自动播放视频
function autoPlayMedia() {
const mediaElements = document.querySelectorAll('video, audio');
mediaElements.forEach(media => {
if (media.paused) {
media.play();
}
});
}
// 从AI题库获取答案
async function getAnswerFromAI(question) {
try {
const answer = await AIQuestionBankAPI.getAnswer(question);
return answer;
} catch (error) {
console.error('获取AI题库答案失败', error);
return null;
}
}
// 检测当前页面所属的平台
function detectPlatform() {
const url = window.location.href;
if (url.includes('chaoxing.com')) return '超星学习通';
if (url.includes('zhihuishu.com')) return '智慧树';
if (url.includes('zjy2.icve.com.cn')) return '职教云系列';
if (url.includes('yuketang.cn')) return '雨课堂';
if (url.includes('kaoshixing.com')) return '考试星';
if (url.includes('168wangxiao.com')) return '168网校';
if (url.includes('lemonwen.com')) return '柠檬文才';
if (url.includes('yixuebao.com')) return '亿学宝云';
if (url.includes('youkexuetang.com')) return '优课学堂';
if (url.includes('xiaoetong.com')) return '小鹅通';
if (url.includes('ahjxjy.cn')) return '安徽继续教育';
if (url.includes('shou.edu.cn')) return '上海开放大学';
if (url.includes('hqu.edu.cn')) return '华侨大学自考网络助学平台';
if (url.includes('hexue.com.cn')) return '和学在线';
if (url.includes('pmph.com')) return '人卫慕课';
if (url.includes('ouchn.cn')) return '国家开放大学';
if (url.includes('scetc.edu.cn')) return '山财培训网(继续教育)';
if (url.includes('zjedu.org')) return '浙江省高等学校在线开放课程共享平台';
if (url.includes('cug.edu.cn')) return '国地质大学远程与继续教育学院';
if (url.includes('zjzs.net')) return '浙江省高等教育自学考试网络助学平台';
if (url.includes('hneao.cn')) return '湖南高等学历继续教育';
if (url.includes('ulearning.cn')) return '优学院';
if (url.includes('xueqiplus.com')) return '学起Plus';
if (url.includes('qingshuxuetang.com')) return '青书学堂';
if (url.includes('xuetangx.com')) return '学堂在线';
if (url.includes('yinghuaxuetang.com')) return '英华学堂';
if (url.includes('gdou.com')) return '广开网络教学平台';
return '未知平台';
}
// 获取题目内容
function getQuestionContent() {
// 这里需要根据具体平台的页面结构来获取题目内容
// 例如,假设题目内容在一个类名为 'question-content' 的元素中
const questionElement = document.querySelector('.question-content');
return questionElement ? questionElement.innerText : '';
}
// 从本地题库获取答案
function getAnswerFromLocalBank(platform, question) {
const bank = questionBank[platform];
return bank ? bank[question] : null;
}
// 自动填写答案
function fillAnswer(answer) {
// 这里需要根据具体平台的页面结构来填写答案
// 例如,假设答案填写在一个类名为 'answer-input' 的输入框中
const answerInput = document.querySelector('.answer-input');
if (answerInput) {
answerInput.value = answer;
}
}
// 自动提交答案
function autoSubmit() {
// 这里需要根据具体平台的页面结构来提交答案
// 例如,假设提交按钮在一个类名为 'submit-button' 的按钮中
const submitButton = document.querySelector('.submit-button');
if (submitButton) {
submitButton.click();
}
}
// 视频和音频倍速播放
function setMediaSpeed(speed) {
const mediaElements = document.querySelectorAll('video, audio');
mediaElements.forEach(media => {
media.playbackRate = speed;
});
}
// 文档和图书自动完成
function autoCompleteDocument() {
// 这里需要根据具体平台的页面结构来实现文档和图书的自动完成
// 例如,假设文档内容在一个类名为 'document-content' 的元素中
const documentContent = document.querySelector('.document-content');
if (documentContent) {
// 模拟用户滚动或点击操作
documentContent.scrollIntoView();
}
}
// 字体解密
function decryptFont() {
// 这里需要根据具体平台的页面结构来实现字体解密
// 例如,假设字体加密的元素在一个类名为 'encrypted-font' 的元素中
const encryptedFont = document.querySelector('.encrypted-font');
if (encryptedFont) {
// 解密逻辑
encryptedFont.style.fontFamily = 'Arial';
}
}
// 自动切换任务点
function autoSwitchTask() {
// 这里需要根据具体平台的页面结构来实现任务点的自动切换
// 例如,假设任务点按钮在一个类名为 'task-button' 的按钮中
const taskButton = document.querySelector('.task-button');
if (taskButton) {
taskButton.click();
}
}
// 自动登录
function autoLogin() {
// 这里需要根据具体平台的页面结构来实现自动登录
// 例如,假设用户名和密码输入框分别在一个类名为 'username-input' 和 'password-input' 的输入框中
const usernameInput = document.querySelector('.username-input');
const passwordInput = document.querySelector('.password-input');
const loginButton = document.querySelector('.login-button');
if (usernameInput && passwordInput && loginButton) {
usernameInput.value = 'your_username';
passwordInput.value = 'your_password';
loginButton.click();
}
}
// 根据平台执行相应的自动化任务
function executeTasks(platform) {
const question = getQuestionContent();
const answer = getAnswerFromLocalBank(platform, question);
if (answer) {
fillAnswer(answer);
autoSubmit();
} else {
console.log('未找到答案');
}
setMediaSpeed(2); // 设置视频和音频倍速为2倍
autoCompleteDocument();
decryptFont();
autoSwitchTask();
autoLogin();
}
// 主函数
function main() {
const platform = detectPlatform();
console.log(`当前平台: ${platform}`);
executeTasks(platform);
}
// 执行主函数
main();
})();
(function () {
'use strict';
// 添加自定义样式
GM_addStyle(`
.enhanced-button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
margin: 5px;
}
.enhanced-button:hover {
background-color: #45a049;
}
`);
// 创建增强功能按钮
function createEnhancedButton(text, onClick) {
const button = document.createElement('button');
button.className = 'enhanced-button';
button.innerText = text;
button.addEventListener('click', onClick);
return button;
}
// 示例功能:快速跳转到课程页面
function addQuickAccessButtons() {
const header = document.querySelector('header');
if (header) {
const button = createEnhancedButton('跳转到课程', () => {
window.location.href = 'https://www.example.com/course'; // 替换为目标URL
});
header.appendChild(button);
}
}
// 示例功能:显示学习进度
function showProgress() {
const progress = document.querySelector('.progress-bar'); // 根据平台的实际元素调整
if (progress) {
alert(`当前学习进度:${progress.innerText}`);
} else {
alert('未找到学习进度信息');
}
}
// 示例功能:自动标记已学完的视频
function autoMarkAsCompleted() {
const video = document.querySelector('video');
if (video) {
video.addEventListener('ended', () => {
const markButton = document.querySelector('.mark-complete-button'); // 根据平台的实际元素调整
if (markButton) {
markButton.click();
GM_notification('视频已标记为完成', '学习助手');
}
});
}
}
// 初始化
function init() {
console.log('学习平台增强助手已启动');
addQuickAccessButtons();
autoMarkAsCompleted();
}
// 页面加载完成后执行
window.addEventListener('load', init);
})();